Open jedfrechette opened 3 years ago
What happens if you just point shortcut to the jar file instead ? Does it work correctly ?
That seems to work. Currently the shortcut Target is something like:
"C:\Program Files\AdoptOpenJDK\jre-15.0.1.9-hotspot\bin\javaw.exe" -jar "C:\ProgramData\chocolatey\lib\yed\tools\yed-3.20.1\yed.jar"
After stripping the javaw.exe path so that the Target is just:
"C:\ProgramData\chocolatey\lib\yed\tools\yed-3.20.1\yed.jar"
The shortcut still worked in my test.
OK, then I will see to make it like that.
When yed is installed it creates launcher shortcuts that point to the currently installed version of AdoptOpenJDK. When AdoptOpenJDK is later updated these shortcuts break because they point to javaw.exe in a versioned directory that no longer exists.