mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-04 05:57:29 +00:00
macos: fix bin name
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ android/keystore.properties
|
||||
target
|
||||
.cargo/
|
||||
app/src/main/jniLibs
|
||||
macos/Grim.app/Contents/MacOS/grim-bin
|
||||
macos/Grim.app/Contents/MacOS/grim
|
||||
macos/cert.pem
|
||||
linux/Grim.AppDir/AppRun
|
||||
.intentionally-empty-file.o
|
||||
@@ -9,7 +9,7 @@
|
||||
<string>Grim</string>
|
||||
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>grim-bin</string>
|
||||
<string>grim</string>
|
||||
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>AppIcon</string>
|
||||
|
||||
@@ -40,7 +40,7 @@ rm -rf target/aarch64-apple-darwin
|
||||
cargo install cargo-zigbuild@0.18.4
|
||||
cargo zigbuild --release --target ${arch}
|
||||
rm -rf .intentionally-empty-file.o
|
||||
yes | cp -rf target/${arch}/release/grim-bin macos/Grim.app/Contents/MacOS
|
||||
yes | cp -rf target/${arch}/release/grim macos/Grim.app/Contents/MacOS
|
||||
|
||||
### Sign .app resources:
|
||||
#rcodesign generate-self-signed-certificate
|
||||
|
||||
+1
-1
@@ -21,5 +21,5 @@ cargo build ${release_param[@]}
|
||||
# Start application
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
./target/${type}/grim-bin
|
||||
./target/${type}/grim
|
||||
fi
|
||||
Reference in New Issue
Block a user