You are here

Opera Portable and user-data-dir

6 posts / 0 new
Last post
hgtok
Offline
Last seen: 4 months 5 days ago
Joined: 2021-07-22 21:14
Opera Portable and user-data-dir

Hi,

Found that Opera Portable is vulnerable to profile reset and corruption due to its implementation of profile directory using [DirectoriesMove] in the launcher.

Have tested that Opera Portable launcher works well with below argument in the OperaPortable.ini (remember to comment out [DirectoriesMove])
CommandLineArguments=--user-data-dir=%PAL:DataDir%\profile

This should improve Opera Portable startup speed and reduce profile corruption.

Hope to see this in the next update.

Thanks

hgtok
Offline
Last seen: 4 months 5 days ago
Joined: 2021-07-22 21:14
Any updates?

There was a release on 2021-10-22 and still using [DirectoriesMove]

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 9 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Was By Design

This was by design so that Opera's updater could still be used for non-platform users. Unfortunately, the updater has gotten pretty buggy, so I disable it now. That would mean I could start using this, perhaps, after testing.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 9 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Switched

Both Opera and Opera GX have switched to using the command line parameter.

Note that this will not impact startup time or data integrity as it's just a simple directory rename (no files are getting copied or recreated). It will, however, cut down with issues from improper exits (shutting down Windows without exiting, file corruption on the drive itself impacting the profile move, etc).

Sometimes, the impossible can become possible, if you're awesome!

huang63
Offline
Last seen: 12 hours 27 min ago
Joined: 2008-02-20 15:11
Existing profile won't load

I don't know if it's related to this change. However, after I updated Opera and OperaGX to the latest versions at portableapps.com, they won't load the existing profile from Data\profile\ directory. Instead, they created new profile under App\Opera\ (or App\OperaGX\). Also, when I executed the app again, a pop window saying the profile needs to be moved to Data\profile\ show and the app just ended by itself.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 9 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Here

Please report and follow along here: https://portableapps.com/node/65102

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments