feat: install apk with -r -g; clarify wivrn server scale description
Some checks are pending
/ cargo-clippy (push) Waiting to run
/ cargo-test (push) Waiting to run
/ cargo-fmtcheck (push) Waiting to run
/ appimage (push) Waiting to run

This commit is contained in:
galister 2024-09-19 05:40:53 +00:00 committed by GabMus
parent 1f0dfbd694
commit 7a02447abc
2 changed files with 6 additions and 2 deletions

View file

@ -218,7 +218,7 @@ impl AsyncComponent for InstallWivrnBox {
Ok(apk_path) => {
self.set_install_wivrn_status(match async_process(
"adb",
Some(&["install", apk_path.to_string_lossy().to_string().as_str()]),
Some(&["install", "-r", "-g", apk_path.to_string_lossy().to_string().as_str()]),
None,
)
.await

View file

@ -98,7 +98,11 @@ impl SimpleComponent for WivrnConfEditor {
set_description: "<b>Warning</b>: you likely don't need to change the default configuration, this is for advanced users only. Proceed at your own risk!\n\n<a href=\"https://github.com/Meumeu/WiVRn/blob/master/docs/configuration.md\">WiVRn Configuration Documentation</a>",
add: scalegrp = &adw::PreferencesGroup {
set_title: "Scale",
set_description: Some("Render resolution scale. 1.0 is 100%."),
set_description: Some(concat!("Foveation scale, 1.0 means no foveation. ",
"A value too high may overload your headset's decoder.\n",
"<b>This does not affect game render resolution. ",
"Render resolution is set from within the Android app.</b>",
)),
add: scalex_row = &spin_row(
"Scale X",
None,