mirror of
https://github.com/yusufipk/YouTubeOutlierBadge.git
synced 2026-09-11 10:56:14 +00:00
Declare no data collection, license under GPL-3.0
AMO rejects new extensions without browser_specific_settings.gecko .data_collection_permissions; nothing here leaves the browser, so the required list is just "none".
This commit is contained in:
+3
-1
@@ -17,6 +17,7 @@ import zipfile
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
INCLUDE_DIRS = ["src", "popup", "icons", "_locales"]
|
||||
INCLUDE_FILES = ["manifest.json", "LICENSE"] # GPL kopyası pakette de bulunmalı
|
||||
OUTPUT = "outlier-badge.zip"
|
||||
|
||||
|
||||
@@ -75,7 +76,8 @@ def main():
|
||||
if os.path.exists(OUTPUT):
|
||||
os.remove(OUTPUT)
|
||||
with zipfile.ZipFile(OUTPUT, "w", zipfile.ZIP_DEFLATED) as z:
|
||||
z.write("manifest.json")
|
||||
for f in INCLUDE_FILES:
|
||||
z.write(f)
|
||||
for d in INCLUDE_DIRS:
|
||||
for root, _, names in os.walk(d):
|
||||
for name in sorted(names):
|
||||
|
||||
Reference in New Issue
Block a user