Skip to content

Commit

Permalink
Update CLI imports
Browse files Browse the repository at this point in the history
- Add script to remove windows capabilities
  • Loading branch information
LeDragoX committed Feb 23, 2023
1 parent a4c08d9 commit dd6112d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Win10ScriptCLI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ function Main() {

Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"open-file.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"set-console-style.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"show-dialog-window.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"start-logging.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"title-templates.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"show-message-dialog.psm1" -Force

Set-ConsoleStyle # Makes the console look cooler
Start-Logging -File (Split-Path -Path $PSCommandPath -Leaf).Split(".")[0]
Expand Down Expand Up @@ -38,15 +38,15 @@ function Open-Script() {
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"remove-bloatware-apps.ps1",
"remove-windows-capabilities.ps1",
"optimize-privacy.ps1",
"optimize-performance.ps1",
"personal-tweaks.ps1",
"optimize-security.ps1",
#"remove-onedrive.ps1",
"optimize-windows-features.ps1"
)

Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage -OpenFromGUI $false
}

Main
Main

0 comments on commit dd6112d

Please sign in to comment.