CLI self-updater, warn on version mismatch, direct install.sh option, androidmanifest and info.plist customization, bump to 0.7-alpha.0 (#4095)
* wip.... bun installer * - warn on incompatible versions - clean up some logs - add coloring to log levels * add toasts to desktop/mobile * Auto open simulators * auto boot android * preserve url * pull out some of the warnings * add self-updater * wip: mcp * add install.sh and adjust binstall path * add some cuter styling to logs! * update "input.css" * update other input.css * style a bit more * change getting started * add windows installer * move dioxus-mobile into dioxus-desktop add sentry wip to cli * shorten timeout of toast * fix cli display * wire up customization of android manifest * udid is a real word * add 429 to lychee cache * accept all 200-204 and 429
This commit is contained in:
1 parent
53ef78823d
commit
4d3d55a7a3
56 files changed
+1560
-548
No files matched your search
@@ -163,13 +163,6 @@ impl Output {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Call the shutdown functions that might mess with the terminal settings - see the related code
|
||||
/// in "startup" for more details about what we need to unset
|
||||
pub(crate) fn shutdown(&self) -> io::Result<()> {
|
||||
Self::remote_shutdown(self.interactive)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub(crate) fn remote_shutdown(interactive: bool) -> io::Result<()> {
|
||||
if interactive {
|
||||
stdout()
|
||||
@@ -966,11 +959,23 @@ impl Output {
|
||||
" ".repeat(3usize.saturating_sub(log.source.to_string().len()))
|
||||
))
|
||||
.style(match log.source {
|
||||
TraceSrc::App(_platform) => Style::new().blue(),
|
||||
TraceSrc::Dev => Style::new().magenta(),
|
||||
TraceSrc::Build => Style::new().yellow(),
|
||||
TraceSrc::Bundle => Style::new().magenta(),
|
||||
TraceSrc::App(_platform) => match log.level {
|
||||
Level::ERROR => Style::new().red(),
|
||||
Level::WARN => Style::new().yellow(),
|
||||
Level::INFO => Style::new().magenta(),
|
||||
Level::DEBUG => Style::new().magenta(),
|
||||
Level::TRACE => Style::new().magenta(),
|
||||
},
|
||||
TraceSrc::Dev => match log.level {
|
||||
Level::ERROR => Style::new().red(),
|
||||
Level::WARN => Style::new().yellow(),
|
||||
Level::INFO => Style::new().blue(),
|
||||
Level::DEBUG => Style::new().blue(),
|
||||
Level::TRACE => Style::new().blue(),
|
||||
},
|
||||
TraceSrc::Cargo => Style::new().yellow(),
|
||||
TraceSrc::Build => Style::new().blue(),
|
||||
TraceSrc::Bundle => Style::new().blue(),
|
||||
TraceSrc::Unknown => Style::new().gray(),
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user