diff --git a/run.ps1 b/run.ps1 index e6b37e2..716894d 100644 --- a/run.ps1 +++ b/run.ps1 @@ -12,14 +12,6 @@ if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent Write-Host "Administrator privileges confirmed." -# Define available modules with their respective actions -$modules = @{ - "appsDataManagerModule" = @("reconnect", "connect", "disconnect") - "autostartManagerModule" = @("update", "remove") - "mountsManagerModule" = @("reconnect", "connect", "disconnect") - "deployModule" = @("apply", "clean") -} - # Interactive module selection Clear-Host Write-Host "Select a module:" diff --git a/src/vars.ps1 b/src/vars.ps1 index 0b3cb85..2e99200 100644 --- a/src/vars.ps1 +++ b/src/vars.ps1 @@ -6,6 +6,14 @@ $autostartManagerModule = "$PSScriptRoot\modules\autostart-manager.ps1" $mountsManagerModule = "$PSScriptRoot\modules\mounts-manager.ps1" $deployModule = "$PSScriptRoot\modules\deploy.ps1" +# Define available modules with their respective actions +$modules = @{ + "appsDataManagerModule" = @("reconnect", "connect", "disconnect") + "autostartManagerModule" = @("update", "remove") + "mountsManagerModule" = @("reconnect", "connect", "disconnect") + "deployModule" = @("apply", "clean") +} + # Package Manager Installers $winget = "$PSScriptRoot\winget.ps1"