Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portable...??? #10

Open
Jasantes opened this issue Aug 12, 2024 · 13 comments
Open

Portable...??? #10

Jasantes opened this issue Aug 12, 2024 · 13 comments

Comments

@Jasantes
Copy link

Profile in C:\Users... This is a joke!!!

@adeii
Copy link
Owner

adeii commented Aug 15, 2024

OK. Is this version works for you? https://portableapps.com/apps/internet/supermium-portable

@Jasantes
Copy link
Author

Jasantes commented Aug 16, 2024

Ok, thanks for your response, but the same issue perists, like all portable Chromium forks. But I found a solution, add to the executable shortcut:
--disable-machine-id --disable-encryption --user-data-dir="D:...profile path"

@adeii
Copy link
Owner

adeii commented Aug 16, 2024

Must be problem with portapp project. But --user-data-dir="../Data" could be added as flag as like as --no-sandbox.
Thanks for an idea.

Try this Supermium with older PortApp 3.9.0. Works fine on my Win7.
https://github.com/adeii/supermium-portable/releases/download/v124/supermium-portable-win64-124.0.6367-245-v2.7z

@Jasantes
Copy link
Author

Jasantes commented Aug 18, 2024

BTW, I can't log into the profile account to syncronize. It looks greyed.
Should I open a new issue?

No need. Close Firefox. Rename Data folder to something like Data1, try again.
This will make you new profile. If synchronize works, try to overwrite files from Data1 to new Data folder.

@Jasantes
Copy link
Author

Jasantes commented Aug 19, 2024

Perfect! But I did My way... from the profile button I made a new profile.
Thank you very much and greetings from Uruguay.

@adeii adeii closed this as completed Aug 30, 2024
@nima-amin
Copy link

It's marked closed but the problem persists.
Librewolf on startup creates a folder in C:Users ... which remains empty (fortunately) - the profiles are stored within the application directory.
Not so with Zen and Supermium. Zen stores the profiles entirely in C. Supermium (portableapps) has strange enough two user data folders, one in C, the other within the application directory.

@adeii adeii reopened this Feb 9, 2025
@adeii
Copy link
Owner

adeii commented Feb 12, 2025

Ok. Here is easier way than making *-portable.exe, run browsers with -profile flag.
According to project https://github.com/wysh3/Zen-Browser-Portable, its launcher\zenwindowsportable.bat would make Zen full portable for USB-flash.
So, put *portable.bat in root folder (where are app, data and *-portable.exe) and try does it work.

https://github.com/adeii/supermium-portable/raw/refs/heads/firefux/Firefox-portable.bat
https://raw.githubusercontent.com/adeii/supermium-portable/refs/heads/firefux/Zen-portable.bat

Librewolf 135 also creates a folder in C:\Users ... which remains empty (fortunately) and the profiles are stored within the application directory even with -p flag. So, LW is made that way.

@nima-amin
Copy link

nima-amin commented Feb 15, 2025

Nope, folders are back in Local and Roaming. I deleted them before adding the bat file, then started the browser again - and back they are.

@adeii
Copy link
Owner

adeii commented Feb 17, 2025

Add at the end of zen-portable.bat following:

timeout 11
rmdir %appdata%\zen /q /s
rmdir %localappdata%\zen /q

@nima-amin
Copy link

nima-amin commented Feb 17, 2025

Nope - unless I did this bat creating wrong.
This is what I copied from your links in the editor and saved as zen-portable.bat:

set APP_DIR=%~dp0\app
set DATA_DIR=%~dp0\data
"%APP_DIR%\zen.exe" -profile "%DATA_DIR%\profile1" -no-remote
timeout 11
rmdir %appdata%\zen /q /s
rmdir %localappdata%\zen /q

I had zen open definitely longer than 10 seconds.

@adeii
Copy link
Owner

adeii commented Feb 20, 2025

Try increase timeout to 20 or 30.

@adeii adeii closed this as completed Mar 1, 2025
@nima-amin
Copy link

@snowFox:

Nope, language settings are saved now, but the portability problem still is not solved. Nothing is deleted, and voila the Snowfox-folders in Local and Roaming are full with files.

Image

Image

@adeii adeii reopened this Mar 1, 2025
@adeii
Copy link
Owner

adeii commented Mar 1, 2025

So, this will demand more fixing inside *fox.exe or browser/omni.ja than just flags.
I will reconsider this later https://github.com/Heptazhou/Snowfox-Portable/blob/master/README.md

Update: This solution use AutoHotKey script to tweak registry, use Profile\Default as storage, and delete Local and Roaming folders on C: after use. Also there is Ahk2Exe compiler, so SnowFox-Portable.exe was made.

https://github.com/adeii/supermium-portable/releases/download/F135/snowfox-portable2-134.0.2-x64-win7.7z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants