diff options
author | Deathamns <deathamns@gmail.com> | 2014-10-25 09:42:07 +0200 |
---|---|---|
committer | Deathamns <deathamns@gmail.com> | 2014-11-09 17:40:46 +0100 |
commit | 54749b31fbdcedcaf601fe4bce00b3ce15d04532 (patch) | |
tree | 5241254131a5e17907c0a2ff98a2d905b4af26a0 | |
parent | f6f85ec793978d62d5268ce7a1402621f153a0ec (diff) | |
download | uBlock-54749b31fbdcedcaf601fe4bce00b3ce15d04532.zip uBlock-54749b31fbdcedcaf601fe4bce00b3ce15d04532.tar.gz uBlock-54749b31fbdcedcaf601fe4bce00b3ce15d04532.tar.bz2 |
Building Info.plist was missing
-rw-r--r-- | meta/config.json | 9 | ||||
-rw-r--r-- | tools/build_meta.py | 10 |
2 files changed, 12 insertions, 7 deletions
diff --git a/meta/config.json b/meta/config.json index f5b8010..a396a7d 100644 --- a/meta/config.json +++ b/meta/config.json @@ -4,7 +4,6 @@ "url": "https://github.com/gorhill/uBlock",
"author": "Raymond Hill",
"author_email": "rhill@raymondhill.net",
- "author_www": "http://raymondhill.net/",
"version": "0.7.0.7",
"def_lang": "en",
"vendors": {
@@ -17,13 +16,9 @@ },
"safariextz": {
"app_id": "net.gorhill.uBlock",
- "dir": "uBlock.safariextension",
- "manifest": {
- "Info": "Info.plist",
- "Settings": "Settings.plist"
- },
+ "manifest": "Info.plist",
"file_ext": ".safariextz",
- "developer_identifier": "T7HSFKB9M5",
+ "developer_identifier": "",
"cert_dir": "../meta/safariextz/certs/",
"cert_key": "../meta/safariextz/certs/key.pem"
}
diff --git a/tools/build_meta.py b/tools/build_meta.py index e0c17bf..4aa2be1 100644 --- a/tools/build_meta.py +++ b/tools/build_meta.py @@ -97,3 +97,13 @@ with open(pj(src_dir, vendors['crx']['manifest']), 'wt', encoding='utf-8', newli f.write( re.sub(r"\{(?=\W)|(?<=\W)\}", r'\g<0>\g<0>', cf_content).format(**config) ) + + +with open(pj(src_dir, vendors['safariextz']['manifest']), 'wt', encoding='utf-8', newline='\n') as f: + config['app_id'] = vendors['safariextz']['app_id'] + config['description'] = descriptions[config['def_lang']] + + with open(pj(meta_dir, 'safariextz', vendors['safariextz']['manifest']), 'r') as cf: + cf_content = cf.read() + + f.write(cf_content.format(**config)) |