using https://github.com/simonhyll/devcontainer which tries to build alpha.9
Referencing this video, the latest devcontainer for alpha.9 wasn't working
https://youtu.be/HMvzjK4KH1w
[2023-06-30T15:49:46.310Z] #0 366.2 |
#0 366.2 101 | tauri_bundler::NsisSettings {
#0 366.2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `custom_language_files` and `template`
#0 366.2
#0 366.5 error[E0063]: missing field `desktop_template` in initializer of `DebianSettings`
[2023-06-30T15:49:46.310Z]
#0 366.5 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1118:10
[2023-06-30T15:49:46.310Z] #0 366.5 |
#0 366.5 1118 | deb: DebianSettings {
[2023-06-30T15:49:46.310Z]
#0 366.5 | ^^^^^^^^^^^^^^ missing `desktop_template`
#0 366.5
#0 366.7 For more information about this error, try `rustc --explain E0063`.
[2023-06-30T15:49:46.310Z]
[2023-06-30T15:49:46.310Z] #0 366.7 error: could not compile `tauri-cli` (lib) due to 2 previous errors
[2023-06-30T15:49:46.310Z]
#0 366.7 warning: build failed, waiting for other jobs to finish...
#0 379.5 error: failed to compile `tauri-cli v2.0.0-alpha.9`, intermediate artifacts can be found at `/tmp/cargo-installyEoVIJ`
so I tried to checkout to the commit that was probably in the video
git clone https://github.com/simonhyll/devcontainer .devcontainer
cd .devcontainer/
# checkout to version used in video
git checkout eba90acd87aee117f2ef91342c1d688100df337d
the RUN cargo update step still fails with a buncha weird issues
error[E0609]: no field `endpoints` on type `tauri_utils::config::UpdaterConfig`
error[E0560]: struct `UpdaterSettings` has no field named `endpoints`
error[E0609]: no field `dialog` on type `tauri_utils::config::UpdaterConfig`
error[E0063]: missing field `desktop_template` in initializer of `DebianSettings`
any insight would be appreciated
Tauri + Android + Mold + Rust + Node.js + Trunk + Wasm - GitHub - simonhyll/devcontainer: Tauri + Android + Mold + Rust + Node.js + Trunk + Wasm
Today we'll be looking at some of the changes you'll need to make to your project in order to migrate from a version 1 project to a version 2 alpha project. Note that I'll make another video later once version 2 is stable where I go more in-depth into the topic, here I'll just cover the most basic of basics and try to get you 99% of the way.
htt...