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 (Windows) - Extensions Break On Path Change (addonStartup.json.lz4 Problem) #329

Closed
ForkedLightning opened this issue Dec 24, 2017 · 3 comments

Comments

@ForkedLightning
Copy link

ForkedLightning commented Dec 24, 2017

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0.1 Waterfox/56.0.1

Problem:
On Waterfox Portable in Windows, changing the path will cause extensions to break (tested with Classic Theme Restorer and Greasemonkey) .

Solution:

  1. The problem lies with addonStartup.json.lz4 that specifies the full path (not relative!) to the extension. Manually changing the path contained in it will allow it to start as normal, but not done easily due to proprietary MozLz4 format. (See Issue Request: Remove Lz4 compression (.json.mozlz4, bookmarks, etc.) #330 . The WaterfoxPortable.exe NSIS script can change this if it was plain text.)

  2. Changing the paths in extensions.json will only take effect after Waterfox is started twice. First start will be "broken" because of invalid path in addonStartup.json.lz4 (some addon settings like toolbar placement in CTR will be lost), but it will generate a newaddonStartup.json.lz4 for the next run.

@crazy-max
Copy link

@ForkedLightning I have fixed this using Portapps if you want to take a look.

@grahamperrin

This comment has been minimized.

@grahamperrin
Copy link

Maybe related:

@MrAlex94 MrAlex94 mentioned this issue Jun 23, 2020
56 tasks
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

4 participants