diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c80268..7dd1b00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ image: debian:latest before_script: - export DEBIAN_FRONTEND= noninteractive - apt-get update -y - - apt-get install -y zip unzip + - apt-get install -y zip unzip jq stages: - build @@ -31,7 +31,8 @@ build firefox: build chrome: stage: build script: - - zip ClearUrls_chrome -r -FS clearurls.js browser-polyfill.js ChromeVersion/manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* + - jq 'del(.applications) | .description=""' manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json + - zip ClearUrls_chrome -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* only: - master diff --git a/ChromeVersion/manifest.json b/ChromeVersion/manifest.json deleted file mode 100644 index d6a1077..0000000 --- a/ChromeVersion/manifest.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "manifest_version": 2, - "name": "ClearURLs", - "version": "1.5.2", - "author": "Kevin R.", - "description": "Remove tracking elements form URLs.", - "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls", - "default_locale": "en", - "icons": { - "16": "img/clearurls.svg", - "19": "img/clearurls.svg", - "20": "img/clearurls.svg", - "24": "img/clearurls.svg", - "30": "img/clearurls.svg", - "32": "img/clearurls.svg", - "38": "img/clearurls.svg", - "48": "img/clearurls.svg", - "64": "img/clearurls.svg", - "96": "img/clearurls.svg", - "128": "img/clearurls.svg" - - }, - "browser_action": { - "browser_style": true, - "default_icon": { - "16": "img/clearurls.svg", - "19": "img/clearurls.svg", - "20": "img/clearurls.svg", - "24": "img/clearurls.svg", - "30": "img/clearurls.svg", - "32": "img/clearurls.svg", - "38": "img/clearurls.svg", - "48": "img/clearurls.svg", - "64": "img/clearurls.svg", - "96": "img/clearurls.svg", - "128": "img/clearurls.svg" - - }, - "default_title": "ClearURLs Add-on", - "default_popup": "html/popup.html" - }, - "permissions": [ - "*://*/*", - "", - "webRequest", - "webRequestBlocking", - "storage", - "tabs", - "unlimitedStorage" - ], - "background": { - "scripts": [ - "browser-polyfill.js", - "external_js/jquery-3.2.1.min.js", - "external_js/sha256.jquery.js", - "core_js/message_handler.js", - "core_js/tools.js", - "core_js/storage.js", - "clearurls.js" - ] - }, - "content_scripts": [ - { - "matches": [""], - "js": [ - "browser-polyfill.js" - ] - } - ], - "options_ui": { - "page": "html/settings.html" - } -}