mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-09-05 16:47:32 -04:00
Add option to perform all tweaks
This commit is contained in:
+9
-1
@@ -9,8 +9,13 @@ import (
|
||||
|
||||
func applications() {
|
||||
for {
|
||||
var choice int
|
||||
if performAllTweaks {
|
||||
choice = 2
|
||||
} else {
|
||||
choice = front.InputMenuGen("Application to install:", []string{"BACK", "ALL", "yay-bin", "zsh", "htop", "neovim", "virt-manager (also installs qemu-desktop+libvirt)", "librewolf-bin", "zed", "steam", "corectrl"})
|
||||
}
|
||||
var doAll bool
|
||||
choice := front.InputMenuGen("Application to install:", []string{"BACK", "ALL", "yay-bin", "zsh", "htop", "neovim", "virt-manager (also installs qemu-desktop+libvirt)", "librewolf-bin", "zed", "steam", "corectrl"})
|
||||
switch choice {
|
||||
case 1:
|
||||
return
|
||||
@@ -88,6 +93,9 @@ func applications() {
|
||||
managePackages("-Rcns", []string{"power-profiles-daemon"})
|
||||
writeFile(mountPoint+"/etc/polkit-1/rules.d/90-corectrl.rules", corectrlPolkit, "root", 0644)
|
||||
}
|
||||
if performAllTweaks {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user