Skip to content

Add bundle config for macos #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lunar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

Because Lunar depends on Mega, which in turn relies on Neptune’s dynamic library pipy, it’s important to handle libpipy carefully during compilation.

> [!NOTE]
> The file paths in `src-tauri/tauri.conf.json` are set for `cargo tauri build` because `cargo build` and `cargo tauri build` use different file paths. If you want to use `cargo build`, you need to modify the file paths in `src-tauri/tauri.conf.json` to match the corresponding paths.

### Linux

- deb
Expand All @@ -16,3 +19,9 @@ However, compilation for AppImage will fail. After encountering the error “lib

> [!NOTE]
> If you use archlinux to bundle, according to [\[bug\]\[linuxdeploy\] Linux AppImage script fails](https://github.com/tauri-apps/tauri/issues/8929), you may need to run build with `NO_STRIP=true cargo tauri **`.


### MacOS

- dmg
According to [tauri-apps issue(3055)](https://github.com/tauri-apps/tauri/issues/3055#issuecomment-1866022065), you may need to give `Terminal` app or `vscode` app, wahtever you use to compile, the permissions to control `Finder.app` to finish build `dmg` in Apple Silicon. But this didn't influence the build of `app`
4 changes: 3 additions & 1 deletion lunar/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"frameworks": [
"../../target/release/libpipy.dylib"
],
"providerShortName": null,
"signingIdentity": null
},
Expand Down
Loading