From 461d1237d6f1d84d73e3e02ae833237ccb91f888 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 16 Nov 2019 22:56:32 +0200 Subject: [PATCH] Add chromeDir to _ucUtils --- profile/chrome/utils/boot.jsm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profile/chrome/utils/boot.jsm b/profile/chrome/utils/boot.jsm index 446b912..bd1edff 100644 --- a/profile/chrome/utils/boot.jsm +++ b/profile/chrome/utils/boot.jsm @@ -213,6 +213,8 @@ let _uc = { createFileURI: (fileName) => ( _uc.createFileURI(fileName) ), + get chromeDir(){ return {get files(){return _uc.chromeDirEntries},uri:_uc.BASE_FILEURI} }, + getFSEntry: (fileName) => ( _uc.getDirEntry(fileName) ), getScriptData: () => {