Skip to content
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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- [#20](https://github.com/pytauri/create-pytauri-app/pull/20) - fix: fix Linux and macOS build scripts.

- Pass the `libpython` path correctly on Linux and macOS as `-L` arguments to `RUSTFLAGS`.
- Temporarily disable `appimage` bundle target

Currently unable to build `appimage`, see <https://github.com/python-pillow/Pillow/issues/9198>.

- Change the default `identifier` to `com.username.{{ project_name }}`

Tauri no longer recommends identifiers ending with `.app`, see <https://github.com/tauri-apps/tauri/issues/12674>.

### Security

- [#19](https://github.com/pytauri/create-pytauri-app/pull/19) - chore(deps-dev): bump vite from 6.3.5 to 6.3.6 in the npm_and_yarn group across 1 directory.
Expand Down
2 changes: 1 addition & 1 deletion copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package_name:
identifier:
type: str
help: Identifier
default: "com.{{ project_name }}.app"
default: "com.username.{{ project_name }}"

template:
type: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ set -e
cd "$(dirname "$0")/../.."

PROJECT_NAME="{{ project_name }}"
PYLIB_DIR="$(realpath src-tauri/pyembed/python/lib)"

export PYTAURI_STANDALONE="1"
export PYO3_PYTHON="$(realpath src-tauri/pyembed/python/bin/python3)"
export RUSTFLAGS=" \
-C link-arg=-Wl,-rpath,\$ORIGIN/../lib/$PROJECT_NAME/lib \
-L \"$PYO3_PYTHON\""
-L $PYLIB_DIR"

uv pip install \
--exact \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export PYTAURI_STANDALONE="1"
export PYO3_PYTHON="$(realpath src-tauri/pyembed/python/bin/python3)"
export RUSTFLAGS=" \
-C link-arg=-Wl,-rpath,@executable_path/../Resources/lib \
-L \"$PYLIB_DIR\""
-L $PYLIB_DIR"

uv pip install \
--exact \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"bundle": {
"active": true,
"targets": "all",
"targets": [
"deb",
"rpm",
"msi",
"nsis",
"app",
"dmg"
],
"resources": {
"pyembed/python": "./"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
}
},
"bundle": {
"active": true,
"targets": "all",
"active": false,
"icon": [
"icons/32x32.png",
"icons/128x128.png",
Expand Down