Update platform.rs (#391)

made it so bottles actually works directly, instead of having to manually go through all of the games after the fact
This commit is contained in:
Khirman1
2024-01-25 07:00:00 +01:00
committed by GitHub
parent f09296f1ff
commit f395616902
+1 -1
View File
@@ -49,7 +49,7 @@ impl From<BottlesApp> for ShortcutOwned {
fn from(app: BottlesApp) -> Self {
//
let launch_parameter = format!(
"run --command=bottles-cli com.usebottles.bottles run -b \"{}\" -p \"{}\"",
"run --command=bottles-cli com.usebottles.bottles run --args-replace -b \"{}\" -p \"{}\"",
app.bottle, app.name
);
Shortcut::new("0", &app.name, "flatpak", "", "", "", &launch_parameter).to_owned()