Fixed some static library issues
This commit is contained in:
@@ -49,7 +49,6 @@ task dist(type: Jar, dependsOn: classes){
|
|||||||
|
|
||||||
PackrConfig.Platform.values().each{ platform ->
|
PackrConfig.Platform.values().each{ platform ->
|
||||||
task "packr${platform.toString()}"{
|
task "packr${platform.toString()}"{
|
||||||
def platformName = platform.toString().replace('64', '').replace('32', '').replace('MacOS', 'Mac')
|
|
||||||
|
|
||||||
dependsOn dist
|
dependsOn dist
|
||||||
|
|
||||||
@@ -114,12 +113,12 @@ PackrConfig.Platform.values().each{ platform ->
|
|||||||
|
|
||||||
if(platform == PackrConfig.Platform.MacOS){
|
if(platform == PackrConfig.Platform.MacOS){
|
||||||
copy{
|
copy{
|
||||||
into "build/packr/${appName}.app/Contents/"
|
into "build/packr/output/${appName}.app/Contents/"
|
||||||
from "build/packr/Contents/"
|
from "build/packr/output/Contents/"
|
||||||
}
|
}
|
||||||
|
|
||||||
delete{
|
delete{
|
||||||
delete "build/packr/Contents/"
|
delete "build/packr/output/Contents/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user