Add flatpak_systemwide option

This commit is contained in:
teackot
2023-05-16 18:32:29 +03:00
parent d03c338503
commit 6f10c789eb
3 changed files with 12 additions and 0 deletions
@@ -10,6 +10,7 @@ use crate::{impl_backend_constants, Group, Package};
#[derive(Debug, Clone)]
pub struct Flatpak {
pub(crate) packages: HashSet<Package>,
pub(crate) systemwide: bool,
}
const BINARY: Text = "flatpak";
@@ -43,6 +44,7 @@ impl Flatpak {
pub(crate) fn new() -> Self {
Self {
packages: HashSet::new(),
systemwide: true,
}
}