System info:
Linux pop-os 5.15.15-76051515-generic #202201160435~1642693824~21.10~97db1bb SMP T x86_64 x86_64 x86_64 GNU/Linux
Operating System: Pop!_OS 21.10
GNOME version: 40.4.0
Kernel version: 5.15
What?
With tauri = "1.0.0-beta.8"
and tauri-build = "1.0.0-beta.4"
I built the release binary using cargo tauri build
and ran the executable at src-tauri/target/release/tauri-yew-demo
.
I am able to see the "Hello, World" text in the window. I can also see the text using cargo tauri dev
.
With tauri = "1.0.0-rc.2"
and tauri-build = "1.0.0-rc.2"
I updated the Tauri dependency using cd src-tauri && cargo update -p tauri
, following this: https://tauri.studio/docs/development/updating-dependencies.
Building release artifacts with cargo tauri build
doesn't produce any errors, however, I cannot see the text in the window when I run the new release executable at src-tauri/target/release/tauri-yew-demo
. However, with cargo tauri dev
, the text appears.
Why I'm filing this issue
I'm not sure if there is a regression from Tauri but wanted to check here first.
Expected
I expect the latest version of Tauri, 1.0.0-rc.2
to build release executables that displays content from Yew.
Steps to reproduce
- Clone this repo and ensure the HEAD commit is at 25c5183.
- Build the project using
cargo tauri build
and run the built executable at src-tauri/target/release/tauri-yew-demo
. Verify that the window displays the "Hello, World" text.
- Run the project in development with
cargo tauri dev
and verify that the window displays the "Hello, World" text.
- Update the Tauri dependency following the steps outlined in https://tauri.studio/docs/development/updating-dependencies.
cd src-tauri && cargo update -p tauri
- Build the project using
cargo tauri build
and run the built executable at src-tauri/target/release/tauri-yew-demo
. Observe the window does not display the "Hello, World" text.
- Run the project in development with
cargo tauri dev
and verify that the window displays the "Hello, World" text.