Fixes blank icons of Steam desktop shortcuts in Windows.
-N Loads icon files from Steam CDN
-R Reads Steam folder and shortcut files
-W Fixes broken shortcuts and recovers icon files in your Steam folder
--allow-run Runs reg.exe to find Steam installation path in Windows registry (only if default path wasn't found)
Fix icons in the current folder:
cd C:/Users/<username>/Desktop
deno run -N -R -W --allow-run jsr:@mrsimb/steam-blank-iconFix in specific folders:
deno run -N -R -W --allow-run jsr:@mrsimb/steam-blank-icon "C:/Users/<username>/Desktop/Games" "E:/Games"Fix specific icons:
deno run -N -R -W --allow-run jsr:@mrsimb/steam-blank-icon "E:/Games/Hades.url" "E:/Games/Cave Story.url"Use --steampath flag to specify steam installation path (if auto detection fails):
deno run -N -R -W --allow-run jsr:@mrsimb/steam-blank-icon --steampath="E:/Apps/Steam"You can omit permission flags if you want to be asked before taking any action:
deno run jsr:@mrsimb/steam-blank-iconCreate a file called fix.bat and paste this code:
deno run -N -R -W --allow-run jsr:@mrsimb/steam-blank-icon %*
pauseThen save it and just drag & drop a folder or files onto fix.bat.