-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpfcode-installer.ps1
28 lines (20 loc) · 929 Bytes
/
pfcode-installer.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
. (Join-Path $PSScriptRoot 'gui-methods.ps1')
Install-Chocolatey
Add-Type -AssemblyName System.Windows.Forms
. (Join-Path $PSScriptRoot 'installer-gui.designer.ps1')
[System.Windows.Forms.Application]::EnableVisualStyles()
Add-Checkbox -section 'editors' -panel $editorsPanel
Add-Checkbox -section 'browsers' -panel $browsersPanel
Add-Checkbox -section 'terminals' -panel $terminalsPanel
Add-Checkbox -section 'cli' -panel $cliPanel
Add-Checkbox -section 'devTools' -panel $devToolsPanel
Add-Checkbox -section 'desktopApps' -panel $desktopAppsPanel
Add-Checkbox -section 'utils' -panel $utilitiesPanel
Add-Checkbox -section 'vpns' -panel $vpnsPanel
Add-Checkbox -section 'gaming' -panel $gamingPanel
Add-Checkbox -section 'passwordManagers' -panel $passwordManagersPanel
Add-Checkbox -section 'networking' -panel $networkingPanel
$appCount.Text = "App count: $(Get-AppCount)"
Install-Apps
$app.ShowDialog()
$app.Dispose()