File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,7 @@ version = "0.1.0" # Version of your application
2929osx_url_schemes = [" com.codeitlikemiley.snip" ] # URL schemes your application supports
3030script = " scripts/postinstall" # Path to your postinstall script
3131
32+ [profile .release ]
33+ lto = true
34+ codegen-units = 1
35+ strip = true
Original file line number Diff line number Diff line change 22
33cargo clean
44rm snip.pkg
5- cargo build --release
5+ cargo zigbuild --release
66cargo bundle --release
7- pkgbuild --root ./target/release/bundle/osx/Snip .app --install-location " /Applications/Snip .app" --identifier com.codeitlikemiley.snip --version 0.1.0 --scripts ./scripts snip.pkg
7+ pkgbuild --root ./target/release/bundle/osx/snip .app --install-location " /Applications/snip .app" --identifier com.codeitlikemiley.snip --version 0.1.0 --scripts ./scripts snip.pkg
Original file line number Diff line number Diff line change 1818
1919
2020# Create the symlink in ~/.local/bin
21- ln -s " /Applications/Snip .app/Contents/MacOS/snip" " $USER_HOME /.local/bin/snip"
21+ ln -s " /Applications/snip .app/Contents/MacOS/snip" " $USER_HOME /.local/bin/snip"
You can’t perform that action at this time.
0 commit comments