Skip to content

Commit

Permalink
Update create_desktop_shortcut.ps1 keeping icon file idk works at least
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewThomasson authored Aug 22, 2024
1 parent a5335ce commit 5c16e5d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,3 @@ $shortcut.IconLocation = "$iconPath,0"

# Save the shortcut
$shortcut.Save()

# Wait a short time to ensure the shortcut is properly created
Start-Sleep -Seconds 5

# Remove the icon file after creating the shortcut
Remove-Item $iconPath -Force

0 comments on commit 5c16e5d

Please sign in to comment.