mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
make macos release more userfriendly
This commit is contained in:
parent
cd4d87d073
commit
338c26549a
2 changed files with 33 additions and 3 deletions
30
noita-proxy/assets/Info.plist
Normal file
30
noita-proxy/assets/Info.plist
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
|
||||
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleName</key>
|
||||
<string>noita_proxy</string>
|
||||
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>noita proxy</string>
|
||||
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.intquant.entangled</string>
|
||||
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.5.5</string>
|
||||
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.5.5</string>
|
||||
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>noita_proxy</string>
|
||||
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -27,7 +27,8 @@ elif mode == "macos":
|
|||
print("Writing macos release...")
|
||||
|
||||
with ZipFile("target/noita-proxy-macos.zip", "w") as release:
|
||||
release.write("noita-proxy/target/release/noita-proxy", arcname="noita_proxy.arm64", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("noita-proxy/target/release/noita-proxy", arcname="noita_proxy.app/Contents/MacOS/noita-proxy", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("noita-proxy/assets/Info.plist", arcname="noita_proxy.app/Contents/Info.plist", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("redist/libsteam_api.dylib", arcname="libsteam_api.dylib", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
elif mode == "mod":
|
||||
print("Writing mod release...")
|
||||
|
@ -38,4 +39,3 @@ elif mode == "mod":
|
|||
release.writestr("files/version.lua", f'return "{version}"')
|
||||
else:
|
||||
exit(-1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue