d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.05k stars 474 forks source link

Typo in File Association Software\Classes #1955

Open zimbo86 opened 2 days ago

zimbo86 commented 2 days ago

System information

To Reproduce

Steps to reproduce the behavior:

  1. Install
  2. Run

Start-Process "C:\Program Files\ImageGlass\igcmd.exe" -argumentlist "set-default-viewer ""*.png;*.jpg;*.gif;*.jpeg;*.bmp"" --per-machine" -wait

Actual behavior

HKLM\Software\Classes\ImageGlass.AssocFile..PNG is created (see the TWO dots)

Expected behavior

HKLM\Software\Classes\ImageGlass.AssocFile.PNG is created (see the ONE dot) Was fine in 9.0.10.201

Screenshots / Video / Sample image file

image

Additional context

d2phap commented 2 days ago

You should not include * in the extension string, just like this:

igcmd.exe set-default-viewer .png;.jpg;.webp

See https://imageglass.org/docs/command-line-utilities