mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-08 01:43:59 +07:00
Copy Steam DLLs into folder
This commit is contained in:
parent
1e7c21c1ae
commit
c71b5d6f87
@ -142,15 +142,16 @@ PackrConfig.Platform.values().each{ platform ->
|
||||
into "build/packr/output/"
|
||||
rename("msvcr100.dll", "MSVCR100.dll")
|
||||
}
|
||||
}
|
||||
|
||||
if(versionModifier.contains("steam")){
|
||||
copy{
|
||||
from zipTree("build/packr/output/jre/desktop.jar").matching{
|
||||
include "steamworks4j${platform == PackrConfig.Platform.Windows64 ? '64' : ''}.dll"
|
||||
include "steam_api${platform == PackrConfig.Platform.Windows64 ? '64' : ''}.dll"
|
||||
}
|
||||
into "build/packr/output/"
|
||||
if(versionModifier.contains("steam")){
|
||||
copy{
|
||||
def lib = platform == PackrConfig.Platform.MacOS || platform == PackrConfig.Platform.Linux64 ? "lib" : ""
|
||||
from zipTree(platform == PackrConfig.Platform.MacOS ? "build/packr/output/${appName}.app/Contents/Resources/desktop.jar" : "build/packr/output/jre/desktop.jar").matching{
|
||||
include "${lib}steamworks4j${platform == PackrConfig.Platform.Windows64 ? '64.dll' : platform == PackrConfig.Platform.Windows32 ? '.dll' : platform == PackrConfig.Platform.Linux64 ? '.so' : '.dylib'}"
|
||||
include "${lib}steam_api${platform == PackrConfig.Platform.Windows64 ? '64.dll' : platform == PackrConfig.Platform.Windows32 ? '.dll' : platform == PackrConfig.Platform.Linux64 ? '.so' : '.dylib'}"
|
||||
}
|
||||
into "build/packr/output/"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user