Calculate UAppData for Portable Install
Hi all (and John
)
From addon scope, the special path UAppData does not update for FirefoxPortable, is there a way I can calculate this path in my addon.
Special path obtained by: Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties).get('KEYWORD_HERE', Ci.nsIFile).path;
UAppData is giving me: C:\Users\C71ZQW1\AppData\Roaming\Mozilla\Firefox
This path is valid IF and only if Firefox was HARD/FULL installed (as in not portable) to anywhere on the C drive.
But I have installed FireefoxPortable to: C:\Users\C71ZQW1\Desktop\FirefoxPortable
- Read more about Calculate UAppData for Portable Install
- 1 comment
- Log in or register to post comments