Commit cfad261
committed
Regenerate DMG from patched .app in fix-macos-local-build
The fix script rewrites the binary's libiconv reference from a Nix
store path to /usr/lib/libiconv.2.dylib and re-signs the .app, but the
DMG that `tauri build` already produced still embedded the un-patched
.app, so mounting and running from the DMG crashed at launch with a
code-signature mismatch on libiconv. After patching the .app, rebuild
the DMG from it with hdiutil so locally-produced DMGs run on the same
machine and on machines that do not have the Nix store.1 parent 088e19b commit cfad261
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments