Use patch.root = false by default in flatpak

This commit is contained in:
Observer KRypt0n_ 2022-08-03 12:56:19 +02:00
parent bbedc288fe
commit cb1936bb6f
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -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()
}
}
}