heidisql desktop icon was not readable for users

This commit is contained in:
Michael H.G. Schmidt 2023-02-02 17:10:35 +01:00
parent 417e1d0b9a
commit e1557df287

View File

@ -21,6 +21,7 @@ move /Y %STARTMENU%\"HeidiSQL\HeidiSQL.lnk" %STARTMENU%
echo moving HeidiSQL desktop shortcut ...
move /Y "%USERPROFILE%\Desktop\HeidiSQL.lnk" "%PUBLIC%\Desktop"
icacls "%PUBLIC%\Desktop\HeidiSQL.lnk" /grant Users:R 2>nul
echo cleanup ...
rd /S /Q %STARTMENU%\"HeidiSQL"