diff --git a/scripts/Windows/Scripts/Software.ps1 b/scripts/Windows/Scripts/Software.ps1 index d00f66e9..5811b4e1 100644 --- a/scripts/Windows/Scripts/Software.ps1 +++ b/scripts/Windows/Scripts/Software.ps1 @@ -1,12 +1,8 @@ . "$PSScriptRoot/Config.ps1"; - -enum InstallerAction { - Install - Configure - ConfigureUser -} +. "$PSScriptRoot/../Types/InstallerAction.ps1"; $null = New-Module { + . "$PSScriptRoot/../Types/InstallerAction.ps1"; $userArgument = "name"; <# diff --git a/scripts/Windows/Types/InstallerAction.ps1 b/scripts/Windows/Types/InstallerAction.ps1 new file mode 100644 index 00000000..a4183fef --- /dev/null +++ b/scripts/Windows/Types/InstallerAction.ps1 @@ -0,0 +1,5 @@ +enum InstallerAction { + Install + Configure + ConfigureUser +}