mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-22 04:46:08 +03:00
Use patch.root = false
by default in flatpak
This commit is contained in:
parent
bbedc288fe
commit
cb1936bb6f
1 changed files with 3 additions and 1 deletions
|
@ -228,7 +228,9 @@ impl Default for Patch {
|
|||
"https://notabug.org/Krock/dawn".to_string(),
|
||||
"https://dev.kaifa.ch/Maroxy/dawn".to_string()
|
||||
],
|
||||
root: true
|
||||
|
||||
// Disable root requirement for patching if we're running launcher in flatpak
|
||||
root: !Path::new("/.flatpak-info").exists()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue