Skip to content

Commit

Permalink
Fixed issue with installation of all
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed Apr 30, 2023
1 parent 6cbe044 commit 9932b35
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions systems_manager/systems_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, silent=False):
self.enable_windows_features_command = [
['Enable-WindowsOptionalFeature', '-Online', '-FeatureName', f'<FEATURE>', '-NoRestart']]
self.set_features(features=self.windows_features)
self.ubuntu_clean_command = [['trash-empty']]
self.ubuntu_clean_command = [['apt', 'install', '-y', 'trash-cli'], ['trash-empty']]
self.windows_clean_command = [['cleanmgr', '/lowdisk']]
self.ubuntu_optimize_command = [['apt', 'autoremove', '-y'], ['apt', 'autoclean']]
self.windows_optimize_command = [['cleanmgr', '/lowdisk']]
Expand Down Expand Up @@ -450,8 +450,9 @@ def set_applications(self, applications):
self.applications = ["discord", "dos2unix", "python3"]
elif self.operating_system == "Windows":
self.applications = ["Python.Python.3"]
elif applications == "all":
elif applications == "all" or "all" in applications:
if self.operating_system == "Ubuntu":
print("Set all apps")
self.applications = [
"atomicparsley", "audacity", "curl", "dialog", "discord", "containerd", "docker.io",
"ddclient", "docker-compose", "dos2unix", "enscript", "ffmpeg", "fstab", "gimp", "git",
Expand All @@ -474,7 +475,7 @@ def set_applications(self, applications):
"JetBrains.Toolbox", "OpenJS.NodeJS", "OpenJS.NodeJS.LTS", "clsid2.mpc-hc", "Notepad++.Notepad++",
"Microsoft.PowerToys", "PuTTY.PuTTY", "7zip.7zip", "Rustlang.Rust.MSVC", "Microsoft.WindowsTerminal",
"Rustlang.Rust.GNU", "VideoLAN.VLC", "VSCodium.VSCodium", "BlenderFoundation.Blender", "Element.Element",
"mRemoteNG.mRemoteNG", "TechPowerUp.NVCleanstall", "OBSProject.OBSStudio", "Obsidian.Obsidian",
"mRemoteNG.mRemoteNG", "TechPowerUp.NVstall", "OBSProject.OBSStudio", "Obsidian.Obsidian",
"RevoUninstaller.RevoUninstaller", "Valve.Steam", "WiresharkFoundation.Wireshark",
"Emulationstation.Emulationstation", "Libretro.RetroArch"
]
Expand Down

0 comments on commit 9932b35

Please sign in to comment.