123
This commit is contained in:
@@ -12,14 +12,6 @@ if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
|
|||||||
|
|
||||||
Write-Host "Administrator privileges confirmed."
|
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
|
# Interactive module selection
|
||||||
Clear-Host
|
Clear-Host
|
||||||
Write-Host "Select a module:"
|
Write-Host "Select a module:"
|
||||||
|
|||||||
@@ -6,6 +6,14 @@ $autostartManagerModule = "$PSScriptRoot\modules\autostart-manager.ps1"
|
|||||||
$mountsManagerModule = "$PSScriptRoot\modules\mounts-manager.ps1"
|
$mountsManagerModule = "$PSScriptRoot\modules\mounts-manager.ps1"
|
||||||
$deployModule = "$PSScriptRoot\modules\deploy.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
|
# Package Manager Installers
|
||||||
$winget = "$PSScriptRoot\winget.ps1"
|
$winget = "$PSScriptRoot\winget.ps1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user