Skip to content

Commit

Permalink
v4.8.1
Browse files Browse the repository at this point in the history
- removed apps that the majority didn't need
  • Loading branch information
caglaryalcin committed Jul 4, 2024
1 parent 93f01a0 commit 37a0475
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 142 deletions.
39 changes: 17 additions & 22 deletions files/apps/check.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,34 @@
{"PackageIdentifier": ["HWMonitor"]},
{"PackageIdentifier": ["Crystal"]},
{"PackageIdentifier": ["VMware"]},
{"PackageIdentifier": ["Signal"]},
{"PackageIdentifier": ["Code"]},
{"PackageIdentifier": ["notepad"]},
{"PackageIdentifier": ["*SDK"]},
{"PackageIdentifier": ["Nodejs"]},
{"PackageIdentifier": ["Python"]},
{"PackageIdentifier": ["Git"]},
{"PackageIdentifier": ["AnyDesk"]},
{"PackageIdentifier": ["Speedtest"]},
{"PackageIdentifier": ["GitHub"]},
{"PackageIdentifier": ["VLC"]},
{"PackageIdentifier": ["TreeSize"]},
{"PackageIdentifier": ["Commander"]},
{"PackageIdentifier": ["Deluge"]},
{"PackageIdentifier": ["dbeaver"]},
{"PackageIdentifier": ["Cryptomator"]},
{"PackageIdentifier": ["Teams"]},
{"PackageIdentifier": ["SteelSeries"]},
{"PackageIdentifier": ["7-zip", "7zip"]},
{"PackageIdentifier": ["7-zip", "7zip"]},
{"PackageIdentifier": ["Flameshot"]},
{"PackageIdentifier": ["twinkle"]},
{"PackageIdentifier": ["Codec"]},
{"PackageIdentifier": ["Malwarebytes"]},
{"PackageIdentifier": ["Download"]},
{"PackageIdentifier": ["Warp"]},
{"PackageIdentifier": ["OpenRGB"]},
{"PackageIdentifier": ["tailscale"]},
{"PackageIdentifier": ["WinFsp"]},
{"PackageIdentifier": ["rufus"]},
{"PackageIdentifier": ["handbrake"]},
{"PackageIdentifier": ["runtime"]},
{"PackageIdentifier": ["FanControl"]},
{"PackageIdentifier": ["powertoys"]},
{"PackageIdentifier": ["VLC"]},
{"PackageIdentifier": ["Signal"]},
{"PackageIdentifier": ["Teams"]},
{"PackageIdentifier": ["Code"]},
{"PackageIdentifier": ["notepad"]},
{"PackageIdentifier": ["*SDK"]},
{"PackageIdentifier": ["Nodejs"]},
{"PackageIdentifier": ["Python"]},
{"PackageIdentifier": ["Git"]},
{"PackageIdentifier": ["GitHub"]},
{"PackageIdentifier": ["dbeaver"]},
{"PackageIdentifier": ["webview"]},
{"PackageIdentifier": ["powertoys"]}
{"PackageIdentifier": ["runtime"]},
{"PackageIdentifier": ["dotnet"]},
{"PackageIdentifier": ["Malwarebytes"]}
]
}
]
Expand Down
36 changes: 15 additions & 21 deletions files/apps/choco-apps.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,31 @@
<package id="hwmonitor" />
<package id="crystaldiskinfo" />
<package id="vmwareworkstation" />
<package id="signal" />
<package id="vscode" />
<package id="notepadplusplus" />
<package id="windows-sdk-10.0" />
<package id="nodejs" />
<package id="python" />
<package id="git" />
<package id="anydesk" />
<package id="speedtest" />
<package id="github" />
<package id="vlc" />
<package id="treesizefree" />
<package id="totalcommander" />
<package id="deluge" />
<package id="dbeaver" />
<package id="cryptomator" />
<package id="microsoft-teams" />
<package id="steelseries-engine" />
<package id="7zip" />
<package id="flameshot" />
<package id="twinkle-tray" />
<package id="k-litecodecpackmega" />
<package id="malwarebytes" />
<package id="internet-download-manager" />
<package id="warp" />
<package id="openrgb" />
<package id="tailscale" />
<package id="winfsp" />
<package id="rufus" />
<package id="handbrake" />
<package id="dotnet-8.0-desktopruntime" />
<package id="webview2-runtime" />
<package id="nbfc" />
<package id="powertoys" />
<package id="vlc" />
<package id="signal" />
<package id="microsoft-teams" />
<package id="vscode" />
<package id="notepadplusplus" />
<package id="windows-sdk-10.0" />
<package id="nodejs" />
<package id="python" />
<package id="git" />
<package id="github" />
<package id="dbeaver" />
<package id="webview2-runtime" />
<package id="dotnet-8.0-desktopruntime" />
<package id="malwarebytes" />
</packages>
42 changes: 17 additions & 25 deletions files/apps/winget.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,44 +13,36 @@
{"PackageIdentifier": "CPUID.HWMonitor"},
{"PackageIdentifier": "CrystalDewWorld.CrystalDiskInfo"},
{"PackageIdentifier": "VMware.WorkstationPro"},
{"PackageIdentifier": "OpenWhisperSystems.Signal"},
{"PackageIdentifier": "Microsoft.VisualStudioCode"},
{"PackageIdentifier": "Notepad++.Notepad++"},
{"PackageIdentifier": "Microsoft.WindowsSDK.10.0.18362"},
{"PackageIdentifier": "OpenJS.NodeJS"},
{"PackageIdentifier": "Python.Python.3.8"},
{"PackageIdentifier": "Git.Git"},
{"PackageIdentifier": "AnyDeskSoftwareGmbH.AnyDesk"},
{"PackageIdentifier": "Ookla.Speedtest.CLI"},
{
"PackageIdentifier": "GitHub.GitHubDesktop",
"InstallerType": "exe"
},
{"PackageIdentifier": "VideoLAN.VLC"},
{"PackageIdentifier": "JAMSoftware.TreeSize.Free"},
{"PackageIdentifier": "Ghisler.TotalCommander"},
{"PackageIdentifier": "DelugeTeam.Deluge"},
{"PackageIdentifier": "dbeaver.dbeaver"},
{"PackageIdentifier": "Cryptomator.Cryptomator"},
{"PackageIdentifier": "Microsoft.Teams"},
{"PackageIdentifier": "SteelSeries.GG"},
{"PackageIdentifier": "7zip.7zip"},
{"PackageIdentifier": "Flameshot.Flameshot"},
{"PackageIdentifier": "xanderfrangos.twinkletray"},
{"PackageIdentifier": "CodecGuide.K-LiteCodecPack.Mega"},
{"PackageIdentifier": "Malwarebytes.Malwarebytes"},
{"PackageIdentifier": "Tonec.InternetDownloadManager"},
{"PackageIdentifier": "Cloudflare.Warp"},
{"PackageIdentifier": "CalcProgrammer1.OpenRGB"},
{"PackageIdentifier": "tailscale.tailscale"},
{"PackageIdentifier": "WinFsp.WinFsp"},
{"PackageIdentifier": "Rufus.Rufus"},
{"PackageIdentifier": "HandBrake.HandBrake"},
{"PackageIdentifier": "Rem0o.FanControl"},
{"PackageIdentifier": "Microsoft.DotNet.DesktopRuntime.8"},
{"PackageIdentifier": "Google.PlayGames.Beta"},
{"PackageIdentifier": "Microsoft.PowerToys"},
{"PackageIdentifier": "VideoLAN.VLC"},
{"PackageIdentifier": "OpenWhisperSystems.Signal"},
{"PackageIdentifier": "Microsoft.Teams"},
{"PackageIdentifier": "Microsoft.VisualStudioCode"},
{"PackageIdentifier": "Notepad++.Notepad++"},
{"PackageIdentifier": "Microsoft.WindowsSDK.10.0.18362"},
{"PackageIdentifier": "OpenJS.NodeJS"},
{"PackageIdentifier": "Python.Python.3.8"},
{"PackageIdentifier": "Git.Git"},
{
"PackageIdentifier": "GitHub.GitHubDesktop",
"InstallerType": "exe"
},
{"PackageIdentifier": "dbeaver.dbeaver"},
{"PackageIdentifier": "Microsoft.EdgeWebView2Runtime"},
{"PackageIdentifier": "Microsoft.PowerToys"}
{"PackageIdentifier": "Microsoft.DotNet.DesktopRuntime.8"},
{"PackageIdentifier": "Malwarebytes.Malwarebytes"}
]
}
]
Expand Down
76 changes: 2 additions & 74 deletions resume.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ Function Install-VSCodeExtensions {
$design = "pkief.material-icon-theme"
$vspowershell = "ms-vscode.powershell", "tobysmith568.run-in-powershell", "ms-vscode-remote.remote-wsl"
$frontend = "emin.vscode-react-native-kit", "msjsdiag.vscode-react-native", "pranaygp.vscode-css-peek", "rodrigovallades.es7-react-js-snippets",
"dsznajder.es7-react-js-snippets", "dbaeumer.vscode-eslint", "christian-kohler.path-intellisense", "esbenp.prettier-vscode", "ms-python.python", "naumovs.color-highlight"
"dsznajder.es7-react-js-snippets", "dbaeumer.vscode-eslint", "christian-kohler.path-intellisense", "esbenp.prettier-vscode", "ms-python.python",
"naumovs.color-highlight", "meezilla.json", "oliversturm.fix-json"
$github = "github.vscode-pull-request-github", "github.copilot"
$linux = "rogalmic.bash-debug", "shakram02.bash-beautify", "mads-hartmann.bash-ide-vscode", "redhat.vscode-yaml"
$vsextensions = $docker + $autocomplete + $design + $vspowershell + $frontend + $github + $linux
Expand Down Expand Up @@ -333,79 +334,6 @@ catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
}

Function Remove-ChromeComponents {
Write-Host "Disabling and removing Chrome Update services..." -NoNewline
$chromeservices = "gupdate", "gupdatem"
foreach ($service in $chromeservices) {
$serviceObject = Get-Service -Name $service -ErrorAction SilentlyContinue

if ($serviceObject) {
if ($serviceObject.Status -ne 'Running' -and $serviceObject.StartType -eq 'Disabled') {
continue
}

try {
Stop-Service -Name $service -Force -ErrorAction Stop
Set-Service -Name $service -StartupType Disabled -ErrorAction Stop
}
catch {
$errorMessage = $_.Exception.Message
Write-Host "[WARNING] $errorMessage" -ForegroundColor Red -BackgroundColor Black
}

try {
sc.exe delete $service *>$null
if ($LASTEXITCODE -ne 0) { throw "sc.exe returned error code: $LASTEXITCODE" }
}
catch {
$errorMessage = $_.Exception.Message
Write-Host "[WARNING] $errorMessage" -ForegroundColor Red -BackgroundColor Black
}
}
}

$chromeDirectories = @(
"C:\Program Files\Google\Chrome\Application\",
"$env:userprofile\AppData\Local\Google\Chrome\Application"
)

$isSuccess = $false

foreach ($chromeDirectory in $chromeDirectories) {
$chromeVersion = Get-ChildItem -Path $chromeDirectory -Directory -ErrorAction SilentlyContinue |
Where-Object { $_.Name -match '^\d+\.\d+\.\d+\.\d+$' } |
Sort-Object { [Version]($_.Name) } -Descending |
Select-Object -First 1

if ($null -eq $chromeVersion) {
continue
}
else {
$chromeInstallerPath = Join-Path -Path $chromeDirectory -ChildPath $chromeVersion.Name
$installerDirectory = Join-Path -Path $chromeInstallerPath -ChildPath "Installer"
if (Test-Path $installerDirectory) {
Set-Location -Path $installerDirectory
Remove-Item -Path chrmstp.exe -Recurse -ErrorAction SilentlyContinue
Set-Location c:\
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black
$isSuccess = $true
break
}
else {
if (-not $isSuccess) {
Write-Host "[INFO]: No Installer directory found in $chromeInstallerPath" -ForegroundColor Yellow
}
}
}
}

if (-not $isSuccess) {
Write-Host "[WARNING] A valid version of Chrome was not found." -ForegroundColor Red -BackgroundColor Black
}
}

Remove-ChromeComponents

# Malwarebytes trial reset
Function MalwarebytesReset {
Write-Host "Adding task for Malwarebytes trial version reset..." -NoNewline
Expand Down

0 comments on commit 37a0475

Please sign in to comment.