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
|
target
|
||||||
.cargo/
|
.cargo/
|
||||||
app/src/main/jniLibs
|
app/src/main/jniLibs
|
||||||
macos/Grim.app/Contents/MacOS/grim-bin
|
macos/Grim.app/Contents/MacOS/grim
|
||||||
macos/cert.pem
|
macos/cert.pem
|
||||||
linux/Grim.AppDir/AppRun
|
linux/Grim.AppDir/AppRun
|
||||||
.intentionally-empty-file.o
|
.intentionally-empty-file.o
|
|
@ -9,7 +9,7 @@
|
||||||
<string>Grim</string>
|
<string>Grim</string>
|
||||||
|
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>grim-bin</string>
|
<string>grim</string>
|
||||||
|
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>AppIcon</string>
|
<string>AppIcon</string>
|
||||||
|
|
|
@ -40,7 +40,7 @@ rm -rf target/aarch64-apple-darwin
|
||||||
cargo install cargo-zigbuild@0.18.4
|
cargo install cargo-zigbuild@0.18.4
|
||||||
cargo zigbuild --release --target ${arch}
|
cargo zigbuild --release --target ${arch}
|
||||||
rm -rf .intentionally-empty-file.o
|
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:
|
### Sign .app resources:
|
||||||
#rcodesign generate-self-signed-certificate
|
#rcodesign generate-self-signed-certificate
|
||||||
|
|
|
@ -21,5 +21,5 @@ cargo build ${release_param[@]}
|
||||||
# Start application
|
# Start application
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
then
|
then
|
||||||
./target/${type}/grim-bin
|
./target/${type}/grim
|
||||||
fi
|
fi
|
Loading…
Reference in a new issue