add --offline, --locked, remove dioxus branding if dioxus is not being used explicitly (#4155)

* wip: add some spin logging

* wipe dioxus branding if not being used by dioxus

* add --locked, --offline, --frozen

* properly git init with `dx new` and `dx init`

* dont panic in verbosity

* Move build-assets to "tools"

* change ui for dx new offline

* pin tauri-bundle

* pin tauri

* run tailwind once
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-06-24 18:21:25 -07:00
1 parent a899f9f08e
commit dd53ce72a7
14 files changed
+279 -93

No files matched your search

+17 -15
View File
@@ -165,7 +165,7 @@ impl Output {
}
pub(crate) fn remote_shutdown(interactive: bool) -> io::Result<()> {
if interactive {
if interactive && crossterm::terminal::is_raw_mode_enabled().unwrap_or(true) {
stdout()
.execute(Show)?
.execute(DisableFocusChange)?
@@ -766,21 +766,23 @@ impl Output {
let links_list: [_; 2] =
Layout::vertical([Constraint::Length(1), Constraint::Length(1)]).areas(bottom);
frame.render_widget(
Paragraph::new(Line::from(vec![
"Read the docs: ".gray(),
"https://dioxuslabs.com/0.6/docs".blue(),
])),
links_list[0],
);
if state.runner.client.build.using_dioxus_explicitly {
frame.render_widget(
Paragraph::new(Line::from(vec![
"Read the docs: ".gray(),
"https://dioxuslabs.com/0.6/docs".blue(),
])),
links_list[0],
);
frame.render_widget(
Paragraph::new(Line::from(vec![
"Video tutorials: ".gray(),
"https://youtube.com/@DioxusLabs".blue(),
])),
links_list[1],
);
frame.render_widget(
Paragraph::new(Line::from(vec![
"Video tutorials: ".gray(),
"https://youtube.com/@DioxusLabs".blue(),
])),
links_list[1],
);
}
let cmds = [
"",