DIDIRUS4 / AstralRinth

OFFLINE AUTH, NO ADS and other implemented features in our Modrinth cracked client.
https://astralium.su/f/telegram/astralium
Other
63 stars 10 forks source link

Add Portable Mode #42

Open SmilerRyan opened 1 day ago

SmilerRyan commented 1 day ago

Since this is useful for testing purposes i would like to have a "portable" mode, where all profiles etc are forced to be stored in the same folder as the executable if a portable.txt file exists.

image

SmilerRyan commented 7 hours ago

Adding onto this from observations I have made to get closer to this, manually setting THESEUS_CONFIG_DIR to UserData then launching it with command prompt gets you most of the way there, however these files still get left behind:

C:\Users\User\AppData\Local\AstralRinthApp\EBWebView C:\Users\User\AppData\Roaming\AstralRinthApp\app-window-state.json

Windows 11 x64-2024-11-16-06-19-12

Although not optimal, another approach if possible is to somehow set userprofile to . and then create appdata\local and appdata\roaming folders on start.

image