tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.38k stars 2.58k forks source link

refactor(cli): use `cargo run` for `tauri dev` #11694

Open FabianLars opened 1 week ago

FabianLars commented 1 week ago

closes #4724

Soooo i have small problem here. I debugged this for so long (hours) that i don't even remember why i was debugging it. The only difference between the current behavior and this PR is a new error message on ctrlc but i think this cargo run is printing that.

i would appreciate some testing and telling me what i missed.

p.s. the cargo check workflow will fail. didn't want to remove DevCleanup and manually_killed until someone tells me what i missed.

p.p.s. i'll try to do some refactoring after this gets merged. the whole cli dev/build impl is a bit convoluted 😅

p.p.p.s idk why github messes up the diff this much, it's better in vscode for me

github-actions[bot] commented 1 week ago

Package Changes Through 59d20b634182252d652bef2a18b0fb35e9c01e81

There are 7 changes which include tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with patch

Planned Package Versions The following package releases are the planned based on the context of changes in this pull request. | package | current | next | |----|----|----| | tauri-utils | 2.1.0 | 2.1.1 | tauri-bundler | 2.1.0 | 2.2.0 | tauri-runtime | 2.2.0 | 2.3.0 | tauri-runtime-wry | 2.2.0 | 2.3.0 | tauri-codegen | 2.0.3 | 2.0.4 | tauri-macros | 2.0.3 | 2.0.4 | tauri-plugin | 2.0.3 | 2.0.4 | tauri-build | 2.0.3 | 2.0.4 | tauri | 2.1.1 | 2.2.0 | @tauri-apps/cli | 2.1.0 | 2.2.0 | tauri-cli | 2.1.0 | 2.2.0 |

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

FabianLars commented 1 week ago

also, most of the changes were done last week, postponed due to system issues which is probably why i don't know what was wrong with it anymore x)