fix: java_home and cli swallowing logs (#3221)

* fix: http examples with android, add more important flags
- set java_home from assumed installations
- fix tracing redirection bug
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-11-15 23:23:45 -05:00
1 parent 6da7226370
commit fb7c568275
11 files changed
+230 -64

No files matched your search

+5 -4
View File
@@ -608,12 +608,13 @@ impl DioxusCrate {
format!("{}.{}", sub, tld)
}
pub(crate) fn mobile_app_name(&self) -> String {
self.executable_name().to_string()
pub(crate) fn bundled_app_name(&self) -> String {
use convert_case::{Case, Casing};
self.executable_name().to_case(Case::Pascal)
}
pub(crate) fn full_mobile_app_name(&self) -> String {
format!("{}.{}", self.mobile_org(), self.mobile_app_name())
format!("{}.{}", self.mobile_org(), self.bundled_app_name())
}
pub(crate) fn bundle_identifier(&self) -> String {
@@ -621,7 +622,7 @@ impl DioxusCrate {
return identifier.clone();
}
format!("com.example.{}", self.executable_name())
format!("com.example.{}", self.bundled_app_name())
}
}