From 7e232bfe687bc0c84a328a004f3ea999553e69a6 Mon Sep 17 00:00:00 2001 From: Sainan Date: Wed, 13 May 2020 17:04:37 +0200 Subject: [PATCH] Update Firefox build process --- .firefox_build.php | 44 -------------------------------------------- .gitignore | 1 - manifest.json | 5 ----- 3 files changed, 50 deletions(-) diff --git a/.firefox_build.php b/.firefox_build.php index 6719f47..2adf3bf 100644 --- a/.firefox_build.php +++ b/.firefox_build.php @@ -1,41 +1,8 @@ addFromString($fn, $content); - file_put_contents(".firefox/".$fn, $content); } else if($fn == "background.js") { @@ -102,18 +65,11 @@ foreach($index as $fn) "if(false)" ], file_get_contents($fn)); $build->addFromString($fn, $content); - file_put_contents(".firefox/".$fn, $content); } else { $build->addFile($fn, $fn); - copy($fn, ".firefox/".$fn); } } $build->close(); file_put_contents(".next_build_id.txt", $build_id + 1); -if(is_file(".sign_firefox_build.bat")) -{ - passthru(".sign_firefox_build.bat"); -} -recursivelyDelete(".firefox"); diff --git a/.gitignore b/.gitignore index 47d72b4..efae0db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ .next_build_id.txt -.sign_firefox_build.bat diff --git a/manifest.json b/manifest.json index 6e747aa..777a1c4 100644 --- a/manifest.json +++ b/manifest.json @@ -50,11 +50,6 @@ "run_at": "document_start" } ], - "browser_specific_settings": { - "gecko": { - "update_url": "https://universal-bypass.org/firefox/updates.json" - } - }, "web_accessible_resources": [ "html/before-navigate.html", "html/blocked.html",