A Node.js script to automatically download missing Steam game icons for Windows shortcuts (.url files).
- Node.js installed on your system
- Steam installed with games
- Clone or download this repository
- Open a terminal in the project directory
- Run the script using Node.js
# Search in current directory
node fix-icons.js
# Search in specific directory
node fix-icons.js "C:\path\to\shortcuts"
The script will:
- Recursively search for
.url
files in the specified directory - Check if the icon file already exists
- Download missing icons from Steam CDN
- Save icons to the Steam games directory
You can modify these constants in fix-icons.js
:
CHECK_FOLDERS_RECUSIVELY
: Set tofalse
to disable recursive folder searchSTEAM_ICONS_PATH
: Change the Steam icons directory path if Steam is not installed in the default directory.
Detect all installed games and download icons if they don't exist yet