Normalize software names

This commit is contained in:
Manuel Thalmann 2024-10-13 15:35:24 +02:00
parent 48322bb1c3
commit 95d079bcaf
70 changed files with 59 additions and 59 deletions

View file

@ -37,7 +37,7 @@ begin
end
function configureSW -V dir
fish "$dir/../../Software/GRUB/main.fish" configure
fish "$dir/../../Software/grub/main.fish" configure
end
runInstaller $argv

View file

@ -17,7 +17,7 @@ begin
and source "$dir/../Software/pacman/main.fish"
and source "$dir/../Software/yay/main.fish"
and source "$dir/../Software/PowerShell/main.fish"
and source "$dir/../Software/powershell/main.fish"
and yayinst \
linux-headers \

View file

@ -81,7 +81,7 @@ begin
and echo (getOSConfig hostname) | arch-chroot "$mountDir" tee /etc/hostname >/dev/null
and arch-chroot "$mountDir" mkinitcpio -P
and runInOS fish "$tempDir/../Software/GRUB/main.fish"
and runInOS fish "$tempDir/../Software/grub/main.fish"
and if set -l keyLayout (getOSConfig keyboardLayout)
set -l serviceName set-keymap.service

View file

@ -69,7 +69,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
and source "$dir/../../Common/Software/nuke-usb/main.fish" $argv
and source "$dir/../Software/sudo/main.fish" $argv
and source "$dir/../Software/aliae/main.fish" $argv
and source "$dir/../Software/Oh My Posh/main.fish" $argv
and source "$dir/../Software/oh-my-posh/main.fish" $argv
and source "$dir/../Software/openssh/main.fish" $argv
and source "$dir/../Software/vim/main.fish" $argv
and source "$dir/../Software/git/main.fish" $argv
@ -90,7 +90,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end
and if collectionActive desktopExperience
source "$dir/../Software/KDE/main.fish" $argv
source "$dir/../Software/plasma/main.fish" $argv
and source "$dir/../Software/sddm/main.fish" $argv
and if $isInstall
@ -159,13 +159,13 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end
# Internet Access
and source "$dir/../Software/Firefox/main.fish" $argv
and source "$dir/../Software/firefox/main.fish" $argv
and source "$dir/../Software/brave/main.fish" $argv
and source "$dir/../Software/Pennywise/main.fish" $argv
and source "$dir/../Software/pennywise/main.fish" $argv
# Virtualization
and source "$dir/../Software/waydroid/main.fish" $argv
and source "$dir/../Software/Virtual Machine Manager/main.fish" $argv
and source "$dir/../Software/virt-manager/main.fish" $argv
and if collectionActive coding
if $isInstall
@ -203,7 +203,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
tnef
end
and source "$dir/../Software/IcedTea/main.fish" $argv
and source "$dir/../Software/icedtea/main.fish" $argv
end
end
@ -270,7 +270,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
) esbonio
end
and source "$dir/../Software/n/main.fish" $argv
and source "$dir/../Software/nodejs-n/main.fish" $argv
and source "$dir/../Software/docker/main.fish" $argv
end
@ -297,7 +297,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
and sudo flatpak install -y flathub com.usebottles.bottles
end
and source "$dir/../Software/Lutris/main.fish" $argv
and source "$dir/../Software/lutris/main.fish" $argv
and source "$dir/../Software/steam/main.fish" $argv
end

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/Firefox/main.fish"
inherit "$dir/../../../Common/Software/firefox/main.fish"
function installSW -V dir
yayinst firefox

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/GRUB/main.fish"
inherit "$dir/../../../Common/Software/grub/main.fish"
function installSW -V dir
pacinst \

View file

@ -8,7 +8,7 @@ begin
end
function configureSW -V dir
sudo --preserve-env --set-home fish "$dir/../../../Common/Software/n/main.fish" configure
sudo --preserve-env --set-home fish "$dir/../../../Common/Software/nodejs-n/main.fish" configure
end
runInstaller $argv

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/Oh My Posh/main.fish"
inherit "$dir/../../../Common/Software/oh-my-posh/main.fish"
function installSW
yayinst oh-my-posh-bin

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/PowerShell/main.fish"
inherit "$dir/../../../Common/Software/powershell/main.fish"
function installSW
yayinst powershell-bin

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/Virtual Machine Manager/main.fish"
inherit "$dir/../../../Common/Software/virt-manager/main.fish"
function installSW
yayinst qemu-full

View file

@ -4,7 +4,7 @@ begin
source "$dir/../../Scripts/software.fish"
function configureSW -V dir
. "$dir/../../Software/KDE/input.fish"
. "$dir/../../Software/plasma/input.fish"
addInputConfig 1133 16519 "Logitech G903 LS" "PointerAccelerationProfile=1"
end

View file

@ -4,7 +4,7 @@ begin
source "$dir/../../Scripts/software.fish"
function configureSW -V dir
. "$dir/../../Software/KDE/input.fish"
. "$dir/../../Software/plasma/input.fish"
addInputConfig 1118 2338 "Microsoft Surface Keyboard Touchpad" "NaturalScroll=true"
end

View file

@ -252,7 +252,7 @@ $null = New-Module {
Install-ChocoPackage selenium-gecko-driver firefox;
Install-WingetPackage AutoHotkey.AutoHotkey;
. "$PSScriptRoot/../../Windows/Software/PinnedItem/Main.ps1";
. "$PSScriptRoot/../../Windows/Software/pinned-item/Main.ps1";
}
Write-Host "Installing PowerShell Modules…";

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/Constants.ps1";
. "$PSScriptRoot/../PowerShell/Profile.ps1";
. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
Start-SoftwareInstaller @args `

View file

@ -21,7 +21,7 @@ begin
end
end
fish "$dir/../Chromium/ytmdl.fish" "$bin" "$extensionRoot"
fish "$dir/../chromium/ytmdl.fish" "$bin" "$extensionRoot"
for i in (seq (count $bins))
if [ "$extensionRoots[$i]" != "$extensionRoot" ]

View file

@ -8,7 +8,7 @@ begin
's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \
/etc/default/grub
fish "$dir/../GRUB/main.fish" configure
fish "$dir/../grub/main.fish" configure
end
runInstaller $argv

View file

@ -26,7 +26,7 @@ begin
-e "s/\($indicator.*\)\(\"\)/\1$config\2/" \
-e "}"
fish "$dir/../GRUB/main.fish" configure
fish "$dir/../grub/main.fish" configure
end
end

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../aliae/Manage.ps1";
. "$PSScriptRoot/../PowerShell/Profile.ps1";
. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../PowerShell/Module.ps1";
. "$PSScriptRoot/../powershell/Module.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
$parameters = Get-ModuleInstallerComponents "posh-git";

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../Software/PowerShell/Profile.ps1";
. "$PSScriptRoot/../../Software/powershell/Profile.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `

View file

@ -1,7 +1,7 @@
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
$null = New-Module {
. "$PSScriptRoot/../../Software/PowerShell/Profile.ps1";
. "$PSScriptRoot/../../Software/powershell/Profile.ps1";
<#
.SYNOPSIS

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../PowerShell/Module.ps1";
. "$PSScriptRoot/../powershell/Module.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
$parameters = Get-ModuleInstallerComponents "Terminal-Icons";

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../PowerShell/Profile.ps1";
. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
Start-SoftwareInstaller @args `

View file

@ -4,8 +4,8 @@
$softwarePath = "$PSScriptRoot/../../Software";
$appScripts = @(
"$softwarePath/TobiiGhost/Main.ps1",
"$softwarePath/TobiiGameHub/Main.ps1"
"$softwarePath/tobii-ghost/Main.ps1",
"$softwarePath/tobii-gamehub/Main.ps1"
);
Start-SoftwareInstaller @args `

View file

@ -91,26 +91,26 @@ function Deploy-SoftwareAction {
$commonSoftware = "$PSScriptRoot/../../Common/Software";
# Windows Config
& "$softwarePath/Windows/Main.ps1" @arguments;
& "$softwarePath/windows/Main.ps1" @arguments;
if ($hardware.logitechG) {
& "$softwarePath/LGHub/Main.ps1" @arguments;
& "$softwarePath/lghub/Main.ps1" @arguments;
}
# Essentials
if ($collections.essential) {
& "$softwarePath/aliae/Main.ps1" @arguments;
& "$softwarePath/git/Main.ps1" @arguments;
& "$softwarePath/OpenSSH/Main.ps1" @arguments;
& "$softwarePath/PowerShell/Main.ps1" @arguments;
& "$softwarePath/openssh/Main.ps1" @arguments;
& "$softwarePath/powershell/Main.ps1" @arguments;
& "$softwarePath/chocolatey/Main.ps1" @arguments;
& "$softwarePath/zoxide/Main.ps1" @arguments;
& "$commonSoftware/posh-git/Main.ps1" @arguments;
& "$commonSoftware/Terminal-Icons/Main.ps1" @arguments;
& "$softwarePath/Oh My Posh/Main.ps1" @arguments;
& "$commonSoftware/terminal-icons/Main.ps1" @arguments;
& "$softwarePath/oh-my-posh/Main.ps1" @arguments;
if (Get-OSConfig "dualboot") {
& "$softwarePath/Ext4Fsd/Main.ps1" @arguments;
& "$softwarePath/ext4fsd/Main.ps1" @arguments;
}
if ($install) {
@ -127,9 +127,9 @@ function Deploy-SoftwareAction {
# Common Software
if ($collections.common) {
& "$softwarePath/WinSCP/Main.ps1" @arguments;
& "$softwarePath/Thunderbird/Main.ps1" @arguments;
& "$softwarePath/PuTTY/Main.ps1" @arguments;
& "$softwarePath/winscp/Main.ps1" @arguments;
& "$softwarePath/thunderbird/Main.ps1" @arguments;
& "$softwarePath/putty/Main.ps1" @arguments;
if ($install) {
Install-ChocoPackage `
@ -198,14 +198,14 @@ function Deploy-SoftwareAction {
}
# ToDo: Consider hiding behind own config?
& "$softwarePath/Ubiquiti UniFi Controller/Main.ps1" @arguments;
& "$softwarePath/ubiquiti-unifi-controller/Main.ps1" @arguments;
# Internet Access
& "$softwarePath/Firefox/Main.ps1" @arguments;
& "$softwarePath/MSEdgeRedirect/Main.ps1" @arguments;
& "$softwarePath/firefox/Main.ps1" @arguments;
& "$softwarePath/msedge-redirect/Main.ps1" @arguments;
if ($collections.fileSync) {
& "$softwarePath/Nextcloud/Main.ps1" @arguments;
& "$softwarePath/nextcloud/Main.ps1" @arguments;
}
}
@ -260,10 +260,10 @@ function Deploy-SoftwareAction {
}
& "$softwarePath/vscode/Main.ps1" @arguments;
& "$softwarePath/VisualStudio/Main.ps1" @arguments;
& "$softwarePath/visualstudio/Main.ps1" @arguments;
# Node.js
& "$softwarePath/NVS/Main.ps1" @arguments;
& "$softwarePath/nvs/Main.ps1" @arguments;
}
# Gaming
@ -292,13 +292,13 @@ function Deploy-SoftwareAction {
Remove-DesktopIcon "EA.*";
}
& "$softwarePath/TrackMania Nations Forever/Main.ps1" @arguments;
& "$softwarePath/TrackMania United Forever/Main.ps1" @arguments;
& "$softwarePath/ManiaPlanet/Main.ps1" @arguments;
& "$softwarePath/tm-nations-forever/Main.ps1" @arguments;
& "$softwarePath/tm-united-forever/Main.ps1" @arguments;
& "$softwarePath/maniaplanet/Main.ps1" @arguments;
& "$softwarePath/osu!/Main.ps1" @arguments;
& "$softwarePath/osu!lazer/Main.ps1" @arguments;
& "$softwarePath/RetroArch/Main.ps1" @arguments;
& "$softwarePath/reWASD/Main.ps1" @arguments;
& "$softwarePath/retroarch/Main.ps1" @arguments;
& "$softwarePath/rewasd/Main.ps1" @arguments;
}
};
}

View file

@ -1,7 +1,7 @@
using namespace Microsoft.Win32;
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Software/PowerShell/Profile.ps1";
. "$PSScriptRoot/../../../Common/Software/powershell/Profile.ps1";
Start-SoftwareInstaller @args `
-Configurator {

View file

@ -3,7 +3,7 @@
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `
-Inherit "$PSScriptRoot/../../../Common/Software/Oh My Posh/Main.ps1" `
-Inherit "$PSScriptRoot/../../../Common/Software/oh-my-posh/Main.ps1" `
-Installer {
Install-WingetPackage JanDeDobbeleer.OhMyPosh -ArgumentList "--scope", "machine";
};

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Software/PowerShell/Module.ps1";
. "$PSScriptRoot/../../../Common/Software/powershell/Module.ps1";
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly -NoProfile;

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args -Inherit "$PSScriptRoot/../../../Common/Software/PowerShell/Main.ps1";
Start-SoftwareInstaller @args -Inherit "$PSScriptRoot/../../../Common/Software/powershell/Main.ps1";

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../TrackMania United Forever/Manage.ps1";
. "$PSScriptRoot/../tm-united-forever/Manage.ps1";
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Software/PowerShell/Profile.ps1";
. "$PSScriptRoot/../../../Common/Software/powershell/Profile.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `