You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: update to tauri v2 stable
- removed the --alpha, --beta, --rc flag
- added a --version option to change tauri version
- default to v2 stable
* update ci
* fix eq helper usage
* fix test
* not using handlebars
* clippy
* fix linux build
* format
* missing comma
* fix template
* fix template usage again
* -t is already taken
* fmt
* fix no_bundle_flag
Update to v2 stable, meaning the `--alpha`, `--beta`, `--rc` flags are removed, and added a `--tauri-version [1|2]` option to change the Tauri version (defaults to latest stable - v2).
Copy file name to clipboardExpand all lines: src/lib.rs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ use dialoguer::{Confirm, Input, Select};
7
7
use std::{ffi::OsString, fs, process::exit};
8
8
9
9
usecrate::{
10
+
args::TauriVersion,
10
11
category::Category,
11
12
deps::print_missing_deps,
12
13
package_manager::PackageManager,
@@ -66,7 +67,7 @@ where
66
67
let defaults = args::Args::default();
67
68
let args::Args{
68
69
skip,
69
-
rc,
70
+
tauri_version,
70
71
manager,
71
72
project_name,
72
73
template,
@@ -328,13 +329,13 @@ where
328
329
&project_name,
329
330
&package_name,
330
331
&identifier,
331
-
rc,
332
+
tauri_version,
332
333
)?;
333
334
334
335
// Print post-render instructions
335
336
println!();
336
337
print!("Template created!");
337
-
let has_missing = print_missing_deps(pkg_manager, template,rc);
338
+
let has_missing = print_missing_deps(pkg_manager, template,tauri_version);
338
339
if has_missing {
339
340
println!("Make sure you have installed the prerequisites for your OS: {BLUE}{BOLD}https://tauri.app/v1/guides/getting-started/prerequisites{RESET}, then run:");
0 commit comments