Restructure the script directory

This commit is contained in:
Manuel Thalmann 2024-11-01 13:12:16 +01:00
parent 772b7adc0b
commit c4250cd27d
150 changed files with 248 additions and 248 deletions

View file

@ -1,6 +1,6 @@
#!/bin/env fish
begin
source "$(status dirname)/../../scripts/config.fish"
source "$(status dirname)/../../scripts/lib/config.fish"
set -l projectName archiso-valhalla
set -l overlayDir (mktemp -d)
set -l upperDir (mktemp -d)
@ -14,7 +14,7 @@ begin
set -l nixDir "$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs"
mkdir -p "$rootHome"
and fish "$(status dirname)/../../scripts/copy-repo.fish" "$projectDir"
and fish "$(status dirname)/../../scripts/lib/copy-repo.fish" "$projectDir"
and begin
if [ ! -d "$nixCache" ]

View file

@ -1,14 +1,14 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW -V dir
yayinst secureboot-grub
end
function configureSW -V dir
source "$dir/../../../Common/Scripts/settings.fish"
source "$dir/../../../lib/settings.fish"
set -l label (getOSConfig boot.label)
set -l efiDir (getOSConfig boot.efiMountPoint)
set -l bootNums (efibootmgr | sed "/$label/{ s/^.*Boot\([[:digit:]]\+\)\*.*\$/\1/; p; }; d")

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW -V dir
set -l repo linux-surface

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW -V dir
yayinst \

View file

@ -3,21 +3,21 @@ begin
set -l dir (status dirname)
function installValhallaDeps -V dir
source "$dir/../Scripts/software.fish"
source "$dir/../lib/software.fish"
and pacinst fish git jq nix sudo tmux
end
function getDeploymentScript -V dir
echo "$dir/../Scripts/deploy.fish"
echo "$dir/../lib/deploy.fish"
end
function initialize -V dir
source "$dir/../../Common/Scripts/wait-network.fish"
source "$dir/../../lib/wait-network.fish"
waitNetwork
or exit
sudo systemctl enable --now nix-daemon
and source "$dir/../Scripts/software.fish"
and source "$dir/../lib/software.fish"
and source "$dir/../Software/base-devel/main.fish"
and source "$dir/../Software/pacman/main.fish"
and source "$dir/../Software/yay/main.fish"

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
source "$dir/../../Common/OS/setup.fish"
source "$dir/../../Common/Scripts/settings.fish"
source "$dir/../../lib/settings.fish"
function runChroot -S
arch-chroot $argv
@ -23,8 +23,8 @@ begin
end
function setupOS -S -V dir -S
source "$dir/../../Common/Scripts/hooks.fish"
source "$dir/../../Common/Scripts/wait-network.fish"
source "$dir/../../lib/hooks.fish"
source "$dir/../../lib/wait-network.fish"
waitNetwork
and begin

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/aliae/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
pacinst base-devel

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/brave/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/docker/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/firefox/main.fish"
function installSW -V dir

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/git/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/grub/main.fish"
function installSW -V dir

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/logo-ls/main.fish"
function installSW -V dir

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/minegrub-theme/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/nix/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst nodejs-n

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/nvidia-dkms/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/oh-my-posh/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
configureSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/powershell/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/pyenv/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/rclone/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
# `git` version

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst steam
@ -9,7 +9,7 @@ begin
function configureSW -V dir
. "$dir/../../../Common/Scripts/settings.fish"
. "$dir/../../../lib/settings.fish"
if isOSEnabled hidpi
begin

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
pacinst sudo

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/vim/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/virt-manager/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function setFlags -a user
set -l flags

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
yayinst (

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
set -l contextRoot (mktemp -d)

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
function installSW
if not type -q yay

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../lib/software.fish"
inherit "$dir/../../../Common/Software/zoxide/main.fish"
function installSW

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Common/Scripts/software.fish"
source "$dir/../../lib/software.fish"
function runYay -d "Run yay with pre-configured defaults"
if not isatty 0

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
. "$dir/../../Software/plasma/input.fish"

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
. "$dir/../../Software/plasma/input.fish"

View file

@ -1,11 +1,11 @@
#!/bin/env fish
set -l dir (status dirname)
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
source "$dir/../Scripts/settings.fish"
source "$dir/../Scripts/hooks.fish"
source "$dir/../../lib/settings.fish"
source "$dir/../../lib/hooks.fish"
if [ (id -u) -eq 0 ]
source "$dir/../../config.fish"
source "$dir/../../lib/config.fish"
set -l sudoConfig "/etc/sudoers.d/PortValhalla"
set -l channelDir /nix/var/nix/profiles/per-user/root/channels/nixpkgs
rm ~/.bash_profile
@ -79,7 +79,7 @@ else
runHook initializeUsers || begin
if [ -n "$deployScript" ]
source "$dir/../Scripts/settings.fish"
source "$dir/../../lib/settings.fish"
for name in (getUsers | jq '.[]' --raw-output0 | string split0)
echo "Configuring user `$name`..."

View file

@ -1,8 +1,8 @@
#!/bin/env fish
function runSetup
set -l dir (status dirname)
source "$dir/../Scripts/settings.fish"
source "$dir/../Scripts/hooks.fish"
source "$dir/../../lib/settings.fish"
source "$dir/../../lib/hooks.fish"
if [ -z "$CONFIG_NAME" ]
selectProfile config
@ -60,7 +60,7 @@ function runSetup
and runHook --force installValhallaDeps 'Please set up a function `installValhallaDeps` for installing `fish`, `git`, `jq`, `nix`, `sudo` and `tmux`.'
and echo "Cloning project..."
and source "$dir/../../copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
and source "$dir/../../lib/copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
runChroot "$mountDir" git config --system --add safe.directory "$PROJECT_CLONE_ROOT"
and runHook setupOS

View file

@ -1,6 +1,6 @@
#!/bin/env fish
set -l dir (status dirname)
source "$dir/../Scripts/settings.fish"
source "$dir/../../lib/settings.fish"
set -l users (getUsers)
echo "Creating users..."

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/Constants.ps1";
. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
Start-SoftwareInstaller @args `
-Configurator {

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
source "$dir/../bash/profile.fish"

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
begin

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/profile-base.fish"
source "$dir/../../../lib/profile-base.fish"
function getBashStatements
end

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
set -l bin

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
sudo systemctl enable --now docker

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
sudo cp "$dir/firefox.sh" /etc/profile.d/

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/profile-base.fish"
source "$dir/../../../lib/profile-base.fish"
function installFishProfile -a name title
addProfileStatement "$name" "$title" "/bin/env fish" fish /etc/fish/conf.d $argv[3..]

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../Scripts/System.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../lib/System.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
& {

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
set -l base "$dir/Main.ps1"
source "$(status dirname)/../../Scripts/software.fish"
source "$(status dirname)/../../../lib/software.fish"
function configureSW -S -V base
pwsh "$base" Configure

View file

@ -1,8 +1,8 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/settings.fish"
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/settings.fish"
source "$dir/../../../lib/software.fish"
function configureSW
set -l efiDir (getOSConfig boot.efiMountPoint)

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
source "$dir/../bash/profile.fish"

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
sudo sed -i \

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir -a scope
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function installSW
npm install --global n

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function installSW -V dir
sudo install -m 755 "$dir/nuke-usb.sh" /usr/local/bin/nuke-usb

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
# According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../aliae/Manage.ps1";
. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `

View file

@ -2,7 +2,7 @@
begin
set -l dir (status dirname)
set -l base "$dir/Main.ps1"
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir -V base
source "$dir/../bash/profile.fish"

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../powershell/Module.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
$parameters = Get-ModuleInstallerComponents "posh-git";
Start-SoftwareInstaller @args @parameters;

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function installSW -V dir
sudo -HE pwsh "$dir/Main.ps1"

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../Software/powershell/Profile.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";

View file

@ -1,6 +1,6 @@
$null = New-Module {
. "$PSScriptRoot/../../Scripts/Scripting.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Scripting.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
<#
.SYNOPSIS

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
sudo -HE pwsh "$dir/Main.ps1" Configure

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function installSW
curl https://pyenv.run | bash

View file

@ -1,14 +1,14 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
sudo cp "$dir/rclone.service" "$dir/rclone.target" "$dir/rclone@.service" /etc/systemd/user
end
function userConfig -V dir -a name
source "$dir/../../Scripts/settings.fish"
source "$dir/../../../lib/settings.fish"
set -l key "programs.rclone.configurations"
set -l configs (getUserConfig "$name" "$key" --apply "builtins.attrNames" --json)

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../powershell/Module.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
$parameters = Get-ModuleInstallerComponents "Terminal-Icons";
Start-SoftwareInstaller @args @parameters;

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function installSW -V dir
sudo -HE pwsh "$dir/Main.ps1"

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW
set -l configFile /etc/vimrc

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW
begin

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../lib/SoftwareManagement.ps1";
Start-SoftwareInstaller @args `
-UserConfigurator {

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function userConfig -V dir
runPSUserConfig "$dir/Main.ps1" $argv

View file

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

View file

@ -1,7 +1,7 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
source "$dir/../../../lib/software.fish"
function configureSW -V dir
source "$dir/../bash/profile.fish"

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Scripts/System.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../lib/System.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../../lib/Software.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../../lib/Software.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../../lib/Software.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,4 +1,4 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../../lib/Software.ps1";
Start-SoftwareInstaller -Force @args `
-Installer {

View file

@ -1,6 +1,6 @@
& {
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
$softwarePath = "$PSScriptRoot/../../Software";
$appScripts = @(

View file

@ -1,24 +1,24 @@
#!/bin/pwsh
using namespace System.Security.Principal;
. "$PSScriptRoot/../Scripts/Security.ps1";
. "$PSScriptRoot/../Scripts/WSL.ps1";
. "$PSScriptRoot/../lib/Security.ps1";
. "$PSScriptRoot/../lib/WSL.ps1";
$null = New-Module {
. "$PSScriptRoot/../Scripts/Constants.ps1";
. "$PSScriptRoot/../Scripts/Deployment.ps1";
. "$PSScriptRoot/../Scripts/PowerManagement.ps1";
. "$PSScriptRoot/../Scripts/Registry.ps1";
. "$PSScriptRoot/../Scripts/Security.ps1";
. "$PSScriptRoot/../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../Scripts/System.ps1";
. "$PSScriptRoot/../Scripts/Update.ps1";
. "$PSScriptRoot/../Scripts/Users.ps1";
. "$PSScriptRoot/../lib/Constants.ps1";
. "$PSScriptRoot/../lib/Deployment.ps1";
. "$PSScriptRoot/../lib/PowerManagement.ps1";
. "$PSScriptRoot/../lib/Registry.ps1";
. "$PSScriptRoot/../lib/Security.ps1";
. "$PSScriptRoot/../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../lib/System.ps1";
. "$PSScriptRoot/../lib/Update.ps1";
. "$PSScriptRoot/../lib/Users.ps1";
. "$PSScriptRoot/../Types/WindowsInstallerAction.ps1";
. "$PSScriptRoot/../../Common/Scripts/Config.ps1";
. "$PSScriptRoot/../../Common/Scripts/Operations.ps1";
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
. "$PSScriptRoot/../../Common/Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../lib/Config.ps1";
. "$PSScriptRoot/../../lib/Operations.ps1";
. "$PSScriptRoot/../../lib/Scripting.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../Common/Types/InstallerAction.ps1";
<#

View file

@ -1,10 +1,10 @@
#!/bin/pwsh
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
. "$PSScriptRoot/../../lib/Scripting.ps1";
function Start-Setup {
param($ConfigurationName)
. "$PSScriptRoot/../../Common/Scripts/Config.ps1";
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
. "$PSScriptRoot/../../lib/Config.ps1";
. "$PSScriptRoot/../../lib/Scripting.ps1";
$Global:InformationPreference = "Continue";
$Global:ErrorActionPreference = "Inquire";
$env:CONFIG_NAME ??= $ConfigurationName;

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `

View file

@ -1,6 +1,6 @@
using namespace Microsoft.Win32;
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../Common/Software/powershell/Profile.ps1";
Start-SoftwareInstaller -Force @args `

View file

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

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller -Force @args `

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../Scripts/AppAssociations.ps1";
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/AppAssociations.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
Start-SoftwareInstaller @args `
-Installer {

View file

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

View file

@ -1,7 +1,7 @@
& {
. "$PSScriptRoot/../../Scripts/Restoration.ps1";
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/Restoration.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
$configPath = "$env:LocalAppData/LGHUB";
<#

View file

@ -1,8 +1,8 @@
& {
. "$PSScriptRoot/../../Scripts/Restoration.ps1";
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Scripts/System.ps1";
. "$PSScriptRoot/../../lib/Restoration.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../lib/System.ps1";
$path = "$HOME/Documents/ManiaPlanet";
Start-SoftwareInstaller @args `

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
Start-SoftwareInstaller @args `
-Installer {

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/PowerManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/PowerManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
& {
<#

View file

@ -1,8 +1,8 @@
using namespace System.Security.AccessControl;
using namespace System.Security.Principal;
. "$PSScriptRoot/../../Scripts/Security.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/Security.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `

View file

@ -1,5 +1,5 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `

Some files were not shown because too many files have changed in this diff Show more