Skip to content

Commit

Permalink
Add arch linux support #172
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean28518 committed Mar 9, 2024
1 parent 6a28513 commit 03e6a46
Show file tree
Hide file tree
Showing 23 changed files with 592 additions and 112 deletions.
36 changes: 36 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Maintainer: Jean28518@Github
pkgname=linux-assistant
pkgdesc="A daily linux helper with powerful integrated search, routines and checks."
pkgver=0.4.4
pkgrel=1
arch=('x86_64')
license=('GPL-3.0-or-later')

source=("https://github.com/Jean28518/linux-assistant/releases/latest/download/linux-assistant-bundle.zip")

depends=("libkeybinder3", "wmctrl", "wget", "python", "mesa-utils", "polkit")

package() {
mkdir -p "$pkgdir/usr/bin"
cp -f "$srcdir/linux-assistant-bundle/linux-assistant.sh" "$pkgdir/usr/bin/linux-assistant"
chmod +x "$srcdir/usr/bin/linux-assistant"

mkdir -p "$pkgdir/usr/share/polkit-1/actions"
cp -f "$srcdir/linux-assistant-bundle/org.linux-assistant.operations.policy" "$pkgdir/usr/share/polkit-1/actions/org.linux-assistant.operations.policy"

mkdir -p "$pkgdir/usr/share/applications"
cp -f "$srcdir/linux-assistant-bundle/linux-assistant.desktop" "$pkgdir/usr/share/applications/linux-assistant.desktop"

mkdir -p "$pkgdir/usr/share/icons/hicolor/256x256/apps"
cp -f "$srcdir/linux-assistant-bundle/linux-assistant.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/linux-assistant.png"

mkdir -p "$pkgdir/usr/lib/linux-assistant"
cp -r "$srcdir/linux-assistant-bundle/lib" "$pkgdir/usr/lib/linux-assistant/"
cp -r "$srcdir/linux-assistant-bundle/data" "$pkgdir/usr/lib/linux-assistant/"
cp -r "$srcdir/linux-assistant-bundle/additional" "$pkgdir/usr/lib/linux-assistant/"
cp -f "$srcdir/linux-assistant-bundle/version" "$pkgdir/usr/lib/linux-assistant/"
cp -f "$srcdir/linux-assistant-bundle/linux-assistant" "$pkgdir/usr/lib/linux-assistant/"


tar -czf "$pkgname-$pkgver-$arch.pkg.tar.gz" -C "$pkgdir" .
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ sudo dpkg --install linux-assistant.deb

# Option 3: Build .rpm package:
bash ./build-rpm.sh

# Option 3: Build Arch package
# You can only do this on an arch based distro
bash ./build-arch-pkg.sh
# To Install:
makepkg -s --skipchecksums --install
```

## Run as flatpak
Expand Down
62 changes: 62 additions & 0 deletions additional/python/check_security_arch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import os
import jessentials
import jfolders
import jfiles
from check_home_folder_rights import check_home_folder_rights



def get_additional_sources():
# Check if yay is installed
if (jfiles.does_file_exist("/usr/bin/yay")):
# lines = jessentials.run_command("/usr/bin/yay -Q", False, True)
# for line in lines:
# print(f"aurpackage: {line.split(" ")[0]}")
print("yayinstalled")

def get_available_updates():
jessentials.run_command("pacman -Sy", False, False, {'DEBIAN_FRONTEND': 'noninteractive'})
lines = jessentials.run_command("pacman -Qu", False, True)
for line in lines:
print(f"upgradeablepackage: {line}")

def check_server_access():
# Check for firewall
if (jfiles.does_file_exist("/usr/sbin/ufw")):
lines = jessentials.run_command("/usr/sbin/iptables -L", False, True)
ufwUserFound = False
for line in lines:
if "ufw-user" in line:
ufwUserFound = True
break
if not ufwUserFound:
print("firewallinactive")
# Check for firewalld
elif (jfiles.does_file_exist("/usr/bin/firewalld")):
lines = jessentials.run_command("/usr/bin/firewall-cmd --list-all", False, True)
if (len(lines) > 1):
pass
else:
print("firewallinactive")
else:
print("nofirewall")

# Check for Xrdp
lines = jessentials.run_command("/usr/bin/systemctl status xrdp", False, True)
if (len(lines) > 1):
print("xrdprunning")
# Check for ssh:
lines = jessentials.run_command("/usr/bin/systemctl status ssh", False, True)
if (len(lines) > 1):
print("sshrunning")
lines = jessentials.run_command("/usr/bin/systemctl status fail2ban", False, True)
if (len(lines) == 0):
print("fail2bannotrunning")

if __name__ == "__main__":
jessentials.ensure_root_privileges()
get_additional_sources()
get_available_updates()
check_home_folder_rights(jessentials.get_value_from_arguments("home", ""))
check_server_access()
print("#!script ran successfully.")
34 changes: 25 additions & 9 deletions additional/python/setup_automatic_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,32 @@
if not jfiles.does_file_exist("/etc/timeshift/timeshift.json"):
jfiles.copy_file("/etc/timeshift/default.json", "/etc/timeshift/timeshift.json")
timeshift_config = jfiles.get_dict_of_json_file("/etc/timeshift/timeshift.json")
print(timeshift_config)
fstab_line = jfiles.get_value_from_file("/etc/fstab", "UUID").strip()
fstab_line = re.sub(' +', ' ', fstab_line) # Remove all multiple whitespaces within string
uuid = fstab_line.split(" ")[0]
mount = fstab_line.split(" ")[1]
filesystem = fstab_line.split(" ")[2]
if len(uuid) == 36 and mount == "/" and filesystem == "ext4":
# Get all lines in /etc/fstab and search for the line with / as mount point
lines = jfiles.get_all_lines_from_file("/etc/fstab")
uuid = ""
mount = ""
filesystem = ""
for line in lines:
line = line.replace("\t", " ")
line = re.sub(' +', ' ', line) # Remove all multiple whitespaces within string
if line.strip().startswith("#"):
continue
if "/ " in line:
uuid = line.split(" ")[0].strip()
mount = line.split(" ")[1].strip()
filesystem = line.split(" ")[2].strip()
break

if "UUID=" in uuid:
uuid = uuid.replace("UUID=", "")

if len(uuid) == 36 and mount == "/" and (filesystem == "ext4" or filesystem == "btrfs"):
timeshift_config["backup_device_uuid"] = uuid
timeshift_config["schedule_monthly"] = "true"
if "--daily" in jessentials.get_arguments():
timeshift_config["schedule_daily"] = "true"
timeshift_config["exclude"].append("/home/***")
print(timeshift_config)
if filesystem == "btrfs":
timeshift_config["btrfs_mode"] = "true"
jfiles.write_dict_to_json_file(dict=timeshift_config, file_path="/etc/timeshift/timeshift.json")
pass
pass
6 changes: 6 additions & 0 deletions build-arch-pkg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Build bundle
VERSION="$( cat version )"

sed -i "s/pkgver=.*/pkgver=\"$VERSION\"/" pkg/PKGBUILD

makepkg -s --skipchecksums
2 changes: 2 additions & 0 deletions build-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ cp linux-assistant.sh linux-assistant-bundle/
cp linux-assistant.png linux-assistant-bundle/
cp -r flatpak linux-assistant-bundle/
cp version linux-assistant-bundle/
cp linux-assistant.desktop linux-assistant-bundle/
cp org.linux-assistant.operations.policy linux-assistant-bundle/

# Get libkeybinder.so
cp /lib/x86_64-linux-gnu/libkeybinder-3.0.so.0 linux-assistant-bundle/lib/
Expand Down
74 changes: 37 additions & 37 deletions features.csv
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
Feature,Flatpak,Debian,Ubuntu,Linux Mint,LMDE,PopOS,MX Linux,Zorin OS,KDE neon,openSUSE,Fedora,Gnome,Xfce,Cinnamon,KDE,Notes
Adabtable dark mode,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes *,yes,yes,yes,"*) depends on window theme,not gtk "
Hotkey handling,yes,yes *,yes *,yes,yes,yes,yes,yes,yes,yes,yes *,yes *,yes,yes,yes,*) only works on wayland with workaround described in #24
Feedback function,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Automatic recognition of environment,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
App search,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Folder structure search,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Bookmark/Places folder search,yes,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
Recent file search,yes,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
Favorite file search,yes,-,-,-,-,-,-,-,-,-,-,no,no,yes,no,
Browser bookmark search,yes,yes,?,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes," Currently works with firefox,chromium and chrome; needs to checked with firefox on snap "
Security check,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Health check,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,,,,,
After installation routine,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Warpinator,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,Only works if flatpak is installed/available in the sources
Nvidia installation,-,(yes),yes,yes,(yes),(yes),(yes),(yes),(yes),no,no,-,-,-,-,
Multimedia codecs installation,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Timeshift setup,yes,yes,yes,yes,yes,yes,yes,yes *,yes,no,no,-,-,-,-,*) When you start timeshift the welcome dialog with config is started. But the timeshift.json is configured successfully??
Automatic update setup,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,integrates on Linux Mint with mintupdate
Update full system (all packages of all pack. man.),yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Search and installation of system packages,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of system package manager,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of flatpak,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of snapd,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Recognition of drive space utilization,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,,,,,
Change user passwort dialog,yes,-,-,-,-,-,yes,-,no,-,yes,yes,yes,yes,no,
open system information,yes,-,-,-,-,-,yes,-,no,-,yes,yes,yes,yes,no,
automatic update check & install of linux assistant,no,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
openAdditionalSoftwareSourcesSettings,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes *,-,-,-,-,*) We can only open gnome-software here
Change Power Mode,yes,yes,yes,yes,yes,yes,yes,no,yes,?,yes,-,-,-,-,
Change user profile,yes,-,-,-,yes,-,yes,-,no,-,yes,yes,yes,yes,no,
hardinfo,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,no *,-,-,-,-,*) Fedora does not package hardinfo anymore
redshift,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,yes,yes,yes,yes,
makeCurrentUserToAdministrator,?,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,-,-,-,-,
setupSnapAndInstallSnapStore,?,yes,yes,yes,yes,yes,yes,yes,yes,no,yes,-,-,-,-,
Commands in Searchbar,?,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
AutomaticRepairOfPackageManager,?,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Feature,Flatpak,Debian,Ubuntu,Linux Mint,LMDE,PopOS,MX Linux,Zorin OS,KDE neon,openSUSE,Fedora,Arch,Gnome,Xfce,Cinnamon,KDE,Notes
Adabtable dark mode,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes *,yes,yes,yes,"*) depends on window theme,not gtk "
Hotkey handling,yes,yes *,yes *,yes,yes,yes,yes,yes,yes,yes,yes *,yes,yes *,yes,yes,yes,*) only works on wayland with workaround described in #24
Feedback function,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Automatic recognition of environment,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
App search,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Folder structure search,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Bookmark/Places folder search,yes,-,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
Recent file search,yes,-,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
Favorite file search,yes,-,-,-,-,-,-,-,-,-,-,-,no,no,yes,no,
Browser bookmark search,yes,yes,?,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes," Currently works with firefox,chromium and chrome; needs to checked with firefox on snap "
Security check,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Health check,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,,,,,
After installation routine,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,
Warpinator,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,Only works if flatpak is installed/available in the sources
Nvidia installation,-,(yes),yes,yes,(yes),(yes),(yes),(yes),(yes),no,no,no,-,-,-,-,
Multimedia codecs installation,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Timeshift setup,yes,yes,yes,yes,yes,yes,yes,yes *,yes,no,no,yes,-,-,-,-,*) When you start timeshift the welcome dialog with config is started. But the timeshift.json is configured successfully??
Automatic update setup,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,no,-,-,-,-,integrates on Linux Mint with mintupdate
Update full system (all packages of all pack. man.),yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Search and installation/uninstallation of system packages,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of system package manager,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of flatpak,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
General integration of snapd,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
Recognition of drive space utilization,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,,,,,
Change user passwort dialog,yes,-,-,-,-,-,yes,-,no,-,yes,-,yes,yes,yes,no,
open system information,yes,-,-,-,-,-,yes,-,no,-,yes,-,yes,yes,yes,no,
automatic update check & install of linux assistant,no,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,no,-,-,-,-,
openAdditionalSoftwareSourcesSettings,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes *,no,-,-,-,-,*) We can only open gnome-software here
Change Power Mode,yes,yes,yes,yes,yes,yes,yes,no,yes,?,yes,yes,-,-,-,-,
Change user profile,yes,-,-,-,yes,-,yes,-,no,-,yes,-,yes,yes,yes,no,
hardinfo,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,no *,no *,-,-,-,-,*) Fedora and arch do not have package hardinfo anymore
redshift,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,no *,yes,yes,yes,yes,*) Does only work with further complicated setup.
makeCurrentUserToAdministrator,?,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,yes,-,-,-,-,
setupSnapAndInstallSnapStore,?,yes,yes,yes,yes,yes,yes,yes,yes,no,yes,yes,-,-,-,-,
Commands in Searchbar,?,-,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
AutomaticRepairOfPackageManager,?,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,no,-,-,-,-,
9 changes: 8 additions & 1 deletion lib/content/basic_entries.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ List<ActionEntry> getBasicEntries(BuildContext context) {
color: MintY.currentColor,
),
disableEntryIf: () {
return [DISTROS.FEDORA].contains(Linux.currentenvironment.distribution);
return [DISTROS.FEDORA, DISTROS.ARCH]
.contains(Linux.currentenvironment.distribution);
},
),
ActionEntry(
Expand Down Expand Up @@ -130,6 +131,9 @@ List<ActionEntry> getBasicEntries(BuildContext context) {
size: 48,
color: MintY.currentColor,
),
disableEntryIf: () =>
// We disable this entry on arch because the user should check the update manager by himself.
Linux.currentenvironment.distribution == DISTROS.ARCH,
),
ActionEntry(
name: AppLocalizations.of(context)!.automaticSnapshots,
Expand Down Expand Up @@ -163,6 +167,9 @@ List<ActionEntry> getBasicEntries(BuildContext context) {
action: "fix_package_manager",
iconWidget: Icon(Icons.bug_report, size: 48, color: MintY.currentColor),
keywords: ["fix", "package", "manager", "apt", "dpkg", "rpm", "zypper"],
disableEntryIf: () {
return [DISTROS.ARCH].contains(Linux.currentenvironment.distribution);
},
),
ActionEntry(
name: AppLocalizations.of(context)!.setupSnap,
Expand Down
3 changes: 3 additions & 0 deletions lib/content/recommendations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ List<ActionEntry> getRecommendations(BuildContext context) {
size: 48,
color: MintY.currentColor,
),
disableEntryIf: () {
return [DISTROS.ARCH].contains(Linux.currentenvironment.distribution);
},
),
ActionEntry(
name: AppLocalizations.of(context)!.powerMode,
Expand Down
3 changes: 3 additions & 0 deletions lib/enums/distros.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ enum DISTROS {
OPENSUSE,
LMDE,
FEDORA,
ARCH,
}

String getNiceStringOfDistrosEnum(var distro) {
Expand All @@ -33,6 +34,8 @@ String getNiceStringOfDistrosEnum(var distro) {
return "LMDE";
case DISTROS.FEDORA:
return "Fedora";
case DISTROS.ARCH:
return "Arch";
default:
return "";
}
Expand Down
3 changes: 3 additions & 0 deletions lib/enums/softwareManagers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ enum SOFTWARE_MANAGERS {
APT,
ZYPPER,
DNF,
PACMAN,
}

String getNiceStringOfSoftwareManagerEnum(SOFTWARE_MANAGERS input) {
Expand All @@ -18,6 +19,8 @@ String getNiceStringOfSoftwareManagerEnum(SOFTWARE_MANAGERS input) {
return "Zypper";
case SOFTWARE_MANAGERS.DNF:
return "DNF";
case SOFTWARE_MANAGERS.PACMAN:
return "Pacman";
default:
return "";
}
Expand Down
1 change: 1 addition & 0 deletions lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
"vivaldiDescription": "Proprietärer Browser mit Fokus auf Privatsphäre und vielen Anpassungsmöglichkeiten.",
"makeAdministrator": "Aktuellen Benutzer zum Administrator machen",
"makeAdministratorDescription": "Füge den aktuellen Benutzer zur Gruppe 'sudo' hinzu, um Root-Rechte zu erhalten. Dafür ist das Passwort des Root-Benutzers nötig.\nDanach ist ein Neustart des Rechners empfohlen.",
"yayInstalled": "Es wurde Yay gefunden. Yay ist ein AUR-Helper, der Dir das Installieren von AUR-Paketen erleichtert. Das AUR ist ein Community-Repository, in dem viele Pakete von der Community gepflegt werden und eventuell schädlich sein könnten.",
"@helloWorld": {
"placeholders": {},
"description": "",
Expand Down
1 change: 1 addition & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
"vivaldiDescription": "Proprietary browser with focus on privacy and many customization options.",
"makeAdministrator": "Make the current user an administrator",
"makeAdministratorDescription": "Add the current user to the 'sudo' group to obtain root rights. The password of the root user is required for this.\nAfterwards a restart of the computer is recommended.",
"yayInstalled": "Yay was found. Yay is an AUR helper that makes it easier for you to install AUR packages. The AUR is a community repository where many packages are maintained by the community and could be potentially harmful.",
"@helloWorld": {
"placeholders": {},
"description": "The conventional newborn programmer greeting",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ class AfterInstallationAutomaticConfiguration extends StatelessWidget {
false; // disabled because of snapper
}

if (Linux.currentenvironment.distribution == DISTROS.ARCH) {
AfterInstallationService.setupAutomaticUpdates = false;
AfterInstallationService.installNvidiaDrivers = false;
}

List<Widget> content = [
MintYSelectableEntryWithIconHorizontal(
icon: const SystemIcon(
Expand Down Expand Up @@ -124,6 +129,19 @@ class AfterInstallationAutomaticConfiguration extends StatelessWidget {
content.removeWhere((element) =>
element.runtimeType != MintYSelectableEntryWithIconHorizontal);

// Remove the Nvidia Card Installation and the Automatic Update Manager Configuration if the distribution is Arch
if (Linux.currentenvironment.distribution == DISTROS.ARCH) {
content.removeWhere((element) =>
element.runtimeType == MintYSelectableEntryWithIconHorizontal &&
(element as MintYSelectableEntryWithIconHorizontal).title ==
AppLocalizations.of(context)!
.automaticUpdateManagerConfiguration);
content.removeWhere((element) =>
element.runtimeType == MintYSelectableEntryWithIconHorizontal &&
(element as MintYSelectableEntryWithIconHorizontal).title ==
AppLocalizations.of(context)!.automaticNvidiaDriverInstallation);
}

return MintYPage(
title: AppLocalizations.of(context)!.automaticConfiguration,
customContentElement: MintYGrid(
Expand Down
2 changes: 2 additions & 0 deletions lib/layouts/after_installation/office_selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class AfterInstallationOfficeSelection extends StatelessWidget {

static Future<bool> libreOfficeInstalled = Linux.areApplicationsInstalled([
"libreoffice-common",
"libreoffice-still",
"libreoffice-fresh",
"org.libreoffice.LibreOffice",
"libreoffice",
"libreoffice-writer"
Expand Down
Loading

0 comments on commit 03e6a46

Please sign in to comment.