Alex313031 / Thorium-Win-AVX2

Repo to serve AVX2 Windows builds of Thorium. https://github.com/Alex313031/Thorium/
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
359 stars 8 forks source link

A small problem with the portable version #93

Closed mx4994 closed 1 year ago

mx4994 commented 1 year ago

When I use THORIUM.BAT to create USER_DATA in the current directory and set a shortcut on the taskbar, synchronize my data, and set it as the default application,

If I do not open Thorium for this shortcut, when I click the link elsewhere, the link will be opened by the default browser. At this time, Thorium will generate a new USER_DATA under the system user AppData, a blank browser, None of the things I set.

So since it is a portable version, why can't it be like other software, where the user data is created wherever it is decompressed, instead of creating a shortcut.

Alex313031 commented 1 year ago

@mx4994 Can you try setting the actual .bat as the default application, instead of thorium.exe

mx4994 commented 1 year ago

@mx4994 Can you try setting the actual .bat as the default application, instead of thorium.exe

😂How to set .BAT as the default program? It is not a program, and cannot be set according to the extension name or protocol.

Alex313031 commented 1 year ago

@mx4994 Setting a browser as a default handler for links happens in the registry, and only properly works when the browser is installed. You are right, you cant set a .bat as a default program. In your use case, it sounds like installing it would be the best thing. Why are you using the portable version if you are going to set it as your default browser anyway?

mx4994 commented 1 year ago

Thank you for your reply, the portable version is very convenient to migrate data when reinstalling the system. Now I have used the installed version.