diff options
author | Omar Rizwan <omar.rizwan@gmail.com> | 2020-10-22 19:54:37 -0700 |
---|---|---|
committer | Omar Rizwan <omar.rizwan@gmail.com> | 2020-10-22 19:54:37 -0700 |
commit | 543dc7d4b2a5bc2c3166b512678f9bdd9a86beda (patch) | |
tree | 3bdf164739d00e49bb6de84748c0c548d4fe71c7 | |
parent | 8bbcaf9343f7ddf835357acfa97fa9c5a13ba9ad (diff) |
works on FF!! key thing was... to add indexedDB permission...
(I guess FF uses the DB in the backend? it makes async errors work...)
-rw-r--r-- | extension/background.js | 1 | ||||
-rw-r--r-- | extension/manifest.json | 2 | ||||
-rw-r--r-- | fs/tabfs.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/extension/background.js b/extension/background.js index b0ce713..f3db46c 100644 --- a/extension/background.js +++ b/extension/background.js @@ -294,7 +294,6 @@ function log(...ss) { } let port; -/* let ws;*/ async function onMessage(req) { log('req', req); diff --git a/extension/manifest.json b/extension/manifest.json index 7900406..f99567b 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -5,7 +5,7 @@ "description": "Connects to TabFS filesystem", "version": "1.0", - "permissions": ["tabs", "debugger", "nativeMessaging"], + "permissions": ["tabs", "debugger", "nativeMessaging", "unlimitedStorage"], "browser_action": {}, @@ -240,6 +240,6 @@ main(int argc, char **argv) for (int i = 0; i < argc; i++) { fprintf(log, "arg%d: [%s]\n", i, argv[i]); fflush(log); } - char* fuse_argv[] = {argv[0], "-odirect_io", "-s", "-f", "mnt"}; + char* fuse_argv[] = {argv[0], "-odirect_io,noappledouble", "-s", "-f", "mnt"}; return fuse_main(5, fuse_argv, &tabfs_filesystem_operations, NULL); } |