fix: fix Linux and macOS build scripts #20
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issues found in pytauri/example-nicegui-app#3:
Pass the
libpythonpath correctly on Linux and macOS as-Larguments toRUSTFLAGS.-Largument was not set forlinux/build.sh.-Largument inmacos/build.shis also incorrect; the quotes cause-L "\"usr\lib\"".Temporarily disable the
appimagebundle targetCurrently unable to build
appimage, see SetRPATHforpillow.libsdependencies python-pillow/Pillow#9198.Change the default
identifiertocom.username.{{ project_name }}Tauri no longer recommends identifiers ending with
.app, see [bug] Prevent.appin identifier tauri-apps/tauri#12674.In fix: remove
.appending from default identifier tauri-apps/create-tauri-app#900 they changed it tocom.{whoami}.{project_name}.I spent some time investigating and found that unless we enable the
--unsafefeature to add a custom Jinja extension, we cannot obtain the username.So I decided to change it to
com.username.{{ project_name }}for now.