Skip to content

Commit

Permalink
Stop logging before using the GPG/SSH setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LeDragoX committed Jun 25, 2024
1 parent fa170e7 commit 7396fbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WinDebloatTools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,9 @@ function Show-GUI() {

If ($InstallGitGnupgSshSetup.CheckState -eq "Checked") {
If (!($Script:UninstallSwitch)) {
Stop-Logging # Don't log any credential info after this point
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Git-GnupgSshKeysSetup.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Start-Logging -File "$CurrentFileName-$(Get-Date -Format "yyyy-MM")"
} Else {
$AppsSelected.WingetApps.AddRange(@("Git.Git", "GnuPG.GnuPG")) # Installed before inside the script
}
Expand Down

0 comments on commit 7396fbe

Please sign in to comment.