Skip to content

Commit

Permalink
Replace discontinued AltDrag with AltSnap
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Aug 28, 2024
1 parent 009345b commit abe029e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Install-Software.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ChocoPrograms = [ordered]@{
"7-Zip" = "7zip", "File compression utility";
"ActivityWatch" = "activitywatch", "Time management utility";
"Adobe Acrobat Reader DC" = "adobereader", "PDF reader. Not usually needed, as web browsers have good integrated pdf readers.";
"AltDrag" = "altdrag", "For moving windows easily";
"AltSnap" = "altsnap", "For moving windows easily";
"Anaconda 3 (NOTE!)" = "anaconda3", "NOTE! Comes with lots of libraries. Use Miniconda or regular Python instead, unless you absolutely need this. Installation with Chocolatey does not work with PyCharm without custom symlinks.";
"Android Debug Bridge" = "adb", "For developing Android applications";
"BleachBit" = "bleachbit", "Utility for freeing disk space";
Expand Down
6 changes: 6 additions & 0 deletions Maintenance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ if (Test-CommandExists "Install-WindowsUpdate") {

Install-Chocolatey
if (Test-CommandExists "choco") {
$ChocoPackages = choco list
if ($ChocoPackages -match "altdrag .*") {
Show-Output -ForegroundColor Cyan "Replacing discontinued AltDrag with AltSnap"
choco uninstall altdrag -y
choco install altsnap -y
}
Show-Output -ForegroundColor Cyan "Installing updates with Chocolatey"
choco upgrade all -y
}
Expand Down

0 comments on commit abe029e

Please sign in to comment.