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

Open
ForkedLightning opened this Issue Dec 24, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ForkedLightning
Copy link

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 #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.