Skip to content

Commit

Permalink
v4.3.2
Browse files Browse the repository at this point in the history
- some bugs fixed
  • Loading branch information
caglaryalcin committed May 20, 2024
1 parent ea4dbbb commit fddee30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions resume.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ Function SafeTaskKill {

SafeTaskKill "GithubDesktop.exe"
SafeTaskKill "Cloudflare WARP.exe"
SafeTaskKill "steam.exe"
SafeTaskKill "AnyDesk.exe"
Function Install-VSCodeExtensions {
Write-Host "Installing Microsoft Visual Studio Code Extensions..." -NoNewline
Start-Sleep 5
Expand Down Expand Up @@ -1134,7 +1136,6 @@ Function UnusedApps {

Remove-Item -Path "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" -Force -ErrorAction SilentlyContinue

Start-Process "explorer.exe" -NoNewWindow
Start-Sleep 3
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black

Expand Down Expand Up @@ -1197,7 +1198,8 @@ Function UnusedApps {
reg delete "HKLM$appxStore\InboxApplications\$key" /f *>$null

#if error use this > $SID = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
$SID = (New-Object System.Security.Principal.NTAccount($env:USERNAME)).Translate([Security.Principal.SecurityIdentifier]).Value
$user = "$env:USERDOMAIN\$env:USERNAME"
(New-Object System.Security.Principal.NTAccount($user)).Translate([System.Security.Principal.SecurityIdentifier]).Value
New-Item -Path "HKLM:$appxStore\EndOfLife\$SID\Microsoft.MicrosoftEdge_8wekyb3d8bbwe" -Force *>$null
Get-AppxPackage -Name Microsoft.MicrosoftEdge | Remove-AppxPackage -ErrorAction SilentlyContinue
Remove-Item -Path "HKLM:$appxStore\EndOfLife\$SID\Microsoft.MicrosoftEdge_8wekyb3d8bbwe" -ErrorAction SilentlyContinue
Expand Down
2 changes: 1 addition & 1 deletion set.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ Function SystemSettings {
Function SetDNS {
Write-Host `n"Which DNS provider " -NoNewline
Write-Host "do you want to use?" -ForegroundColor Yellow
Write-Host "Which DNS provider do you want to set? Write 1, 2 or 3."
Write-Host "Write 1, 2 or 3."
Write-Host `n"[1]" -NoNewline -BackgroundColor Black -ForegroundColor Yellow
Write-Host " - Cloudflare"
Write-Host "[2]" -NoNewline -BackgroundColor Black -ForegroundColor Yellow
Expand Down

0 comments on commit fddee30

Please sign in to comment.