CAS/templates/win_icon.vbs
2022-07-09 16:22:58 -04:00

6 lines
297 B
Plaintext

set WshShell = CreateObject("Wscript.shell")
set oMyShortcut = WshShell.CreateShortcut("%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\$app_name.lnk")
oMyShortcut.IconLocation = "$install_dir\icon.ico"
OMyShortcut.TargetPath = "$install_dir\$app_target.exe"
oMyShortCut.Save