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
eprintln!("{BOLD}{RED}error{RESET}: `{GREEN}{}{RESET}` option is only available if `{GREEN}--beta{RESET}` option is also used", flag);
87
+
eprintln!("{BOLD}{RED}error{RESET}: `{GREEN}{}{RESET}` option is only available if `{GREEN}--rc{RESET}` option is also used", flag);
88
88
exit(1);
89
89
}
90
90
@@ -287,12 +287,12 @@ where
287
287
};
288
288
289
289
// Prompt for wether to bootstrap a mobile-friendly tauri project
290
-
// This should only be prompted if `--beta` is used on the command line and `--mobile` wasn't.
290
+
// This should only be prompted if `--rc` is used on the command line and `--mobile` wasn't.
291
291
// TODO: remove this limitation once tauri@v2 is stable
292
292
let mobile = match mobile {
293
293
Some(mobile) => mobile,
294
294
None => {
295
-
if skip || !beta{
295
+
if skip || !rc{
296
296
defaults.mobile.context("default mobile not set")?
297
297
}else{
298
298
Confirm::with_theme(&ColorfulTheme::default())
@@ -344,14 +344,14 @@ where
344
344
pkg_manager,
345
345
&project_name,
346
346
&package_name,
347
-
beta,
347
+
rc,
348
348
mobile,
349
349
)?;
350
350
351
351
// Print post-render instructions
352
352
println!();
353
353
print!("Template created!");
354
-
let has_missing = print_missing_deps(pkg_manager, template,beta);
354
+
let has_missing = print_missing_deps(pkg_manager, template,rc);
355
355
if has_missing {
356
356
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