@ -144,8 +144,7 @@ function Show-GUI() {
$PictureBox1 = New-PictureBox -ImageLocation " $PSScriptRoot \src\assets\script-image.png " -Width $PanelElementWidth -Height ( ( $BBHeight * 2 ) + $DistanceBetweenElements ) -LocationX $PanelElementX -ElementBefore $RemoveXbox -MarginTop $DistanceBetweenElements -SizeMode 'Zoom'
$ClInstallSystemApps = New-Label -Text " Install System Apps " -Width $PanelWidth -Height $CaptionLabelHeight -LocationX 0 -ElementBefore $PictureBox1
$EnableHEVCSupport = New-Button -Text " Get H.265 video codec " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClInstallSystemApps
$InstallCortana = New-Button -Text " Cortana " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $EnableHEVCSupport -MarginTop $DistanceBetweenElements
$InstallCortana = New-Button -Text " Cortana " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $ClInstallSystemApps -MarginTop $DistanceBetweenElements
$InstallDolbyAudio = New-Button -Text " Dolby Audio " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallCortana -MarginTop $DistanceBetweenElements
$InstallMicrosoftEdge = New-Button -Text " Microsoft Edge " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallDolbyAudio -MarginTop $DistanceBetweenElements
$InstallOneDrive = New-Button -Text " OneDrive " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallMicrosoftEdge -MarginTop $DistanceBetweenElements
@ -410,7 +409,7 @@ function Show-GUI() {
$TabSoftwareInstall . Controls . AddRange ( @ ( $TlSoftwareInstall , $ClSoftwareInstall , $T2Panel1 , $T2Panel2 , $T2Panel3 , $T2Panel4 ) )
# Add Elements to each Tab Panel
$T1Panel1 . Controls . AddRange ( @ ( $ClDebloatTools , $ApplyTweaks , $UndoTweaks , $RemoveMSEdge , $RemoveOneDrive , $RemoveXbox , $PictureBox1 ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClInstallSystemApps , $ EnableHEVCSupport, $ InstallCortana, $InstallDolbyAudio , $InstallMicrosoftEdge , $InstallOneDrive , $InstallPaintPaint3D , $InstallTaskbarWidgets , $InstallUWPWMediaPlayer , $InstallPhoneLink , $InstallSoundRecorder , $InstallXbox ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClInstallSystemApps , $ InstallCortana, $InstallDolbyAudio , $InstallMicrosoftEdge , $InstallOneDrive , $InstallPaintPaint3D , $InstallTaskbarWidgets , $InstallUWPWMediaPlayer , $InstallPhoneLink , $InstallSoundRecorder , $InstallXbox ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClOtherTools , $RandomizeSystemColor , $ReinstallBloatApps , $RepairWindows , $ShowDebloatInfo ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClWindowsUpdate , $CbAutomaticWindowsUpdate , $ClCustomizeFeatures , $CbDarkTheme , $CbActivityHistory , $CbBackgroundsApps , $CbClipboardHistory , $CbClipboardSyncAcrossDevice , $CbCortana , $CbOldVolumeControl , $CbOnlineSpeechRecognition , $CbPhoneLink , $CbPhotoViewer , $CbSearchAppForUnknownExt , $CbTelemetry , $CbWSearchService , $CbXboxGameBarDVRandMode ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClOptionalFeatures , $CbInternetExplorer , $CbPrintToPDFServices , $CbPrintingXPSServices , $CbWindowsMediaPlayer ) )
@ -507,10 +506,6 @@ function Show-GUI() {
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts @ ( " backup-system.ps1 " , " repair-windows.ps1 " ) -DoneTitle $DoneTitle -DoneMessage $DoneMessage
} )
$EnableHEVCSupport . Add_Click ( {
Install-HEVCSupport
} )
$InstallCortana . Add_Click ( {
Install-Cortana
} )