win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
1.85k stars 61 forks source link

Windows Vista SP2: Supermium doesn't create shortcuts for web applications (PWAs) #198

Open MatiHalek opened 5 months ago

MatiHalek commented 5 months ago

I use this feature to make the latest version of Visual Studio Code working on Vista. However, when I click "Install App" in the address bar, I can't find the shortcut anywhere (Chrome on Windows 11 creates it on the desktop). As a result, every time I have to go to https://vscode.dev/ and click "Open in app" ("Save and share" and "Create shortcut" also does nothing). Is there any way to fix this? I'm using Supermium 119 64-bit.

Vista also shows a surprisingly large application size, but I don't think it's Supermium issue. vscode-supermium

SamueltheTechn0Kid commented 5 months ago

Have you tried upgrading to Supermium 121?

MatiHalek commented 5 months ago

Not yet, because I don't know if uninstalling 119 and installing 121 will save all my data

MatiHalek commented 5 months ago

Upgraded to version 121, problem persists.

kristibektashi commented 5 months ago

Not yet, because I don't know if uninstalling 119 and installing 121 will save all my data

Pretty sure you don't need to uninstall anything, just install version 121 and your data should be preserved

MatiHalek commented 5 months ago

Not yet, because I don't know if uninstalling 119 and installing 121 will save all my data

Pretty sure you don't need to uninstall anything, just install version 121 and your data should be preserved

Yes, thanks, I have all my data in Supermium 121. However, I still can't find shortcut to my Visual Studio Code and pin it to taskbar.

win32ss commented 5 months ago

Unfortunately the Vista and below shortcut APIs have not been a priority for Supermium. But I have some information on how the PWA shortcuts work.

The PWA shortcut's command line is in this form: AppData\Local\Supermium\Application\chrome_proxy.exe --profile-directory=Default --app-id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The challenge is now finding the app-id value. Look in the directory AppData\Local\Supermium\User Data\Default\Web Applications and you will find several directories with long names; those are the app-id values. On opening each directory you will find the icon for the application (thereby identifying it). With this information, you can identify each PWA and create a shortcut, until the Vista-and-below shortcut API is restored. This will be a priority for the next release (it's clear that the status quo is running out of steam; measures must be taken to prevent future releases from falling into a heap of unusability).

MatiHalek commented 5 months ago

Thank you very much, it worked!