Skip to content

feat: upgrade to tauri 2.0#249

Merged
ikatson merged 1 commit intoikatson:mainfrom
PastaPastaPasta:feat/tauri-v2-support
Oct 2, 2024
Merged

feat: upgrade to tauri 2.0#249
ikatson merged 1 commit intoikatson:mainfrom
PastaPastaPasta:feat/tauri-v2-support

Conversation

@PastaPastaPasta
Copy link
Contributor

Steps taken:

  1. install tauri via cargo install tauri-cli
  2. see errors when running cargo tauri build
  3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/
  4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module
  5. successfully build using cargo tauri build

Steps taken:
1. install tauri via cargo install tauri-cli
2. see errors when running cargo tauri build
3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/
4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module
5. successfully build using cargo tauri build
@ikatson
Copy link
Owner

ikatson commented Oct 2, 2024

Oh, wow, thanks for this! I tried recently, failed and gave up to try again sometime later. I think the main reason turned out that v2 wasn't released yet at the time, but it was released 6 hours ago, this is quick! I'll merge once confirmed it works on my system

@ikatson ikatson merged commit 6fffe6d into ikatson:main Oct 2, 2024
@ikatson
Copy link
Owner

ikatson commented Oct 2, 2024

Seems to work fine on a quick look, thanks again

@PastaPastaPasta
Copy link
Contributor Author

LOL, that's really funny, I didn't realize it was only released so recently! I only saw that I couldn't build and wanted to fix it :)

@PastaPastaPasta PastaPastaPasta deleted the feat/tauri-v2-support branch October 2, 2024 20:19
@ikatson
Copy link
Owner

ikatson commented Oct 2, 2024

Ah that explains it! "cargo install tauri-cli" must have installed v2 for you and hence things were broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants