macos: fix bin name
This commit is contained in:
parent
4250a83973
commit
1424a820f0
4 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -21,5 +21,5 @@ cargo build ${release_param[@]}
|
|||
# Start application
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
./target/${type}/grim-bin
|
||||
./target/${type}/grim
|
||||
fi
|
Loading…
Reference in a new issue