From 72f2768fc425b30c261d24405902027f603acaf8 Mon Sep 17 00:00:00 2001 From: jingjingxyk Date: Sun, 3 Dec 2023 01:43:24 +0800 Subject: [PATCH] update update-v3-manifest.py --- tools/update-v3-manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/update-v3-manifest.py b/tools/update-v3-manifest.py index 037fde6e..ab46848e 100644 --- a/tools/update-v3-manifest.py +++ b/tools/update-v3-manifest.py @@ -28,7 +28,7 @@ def set_manifest_data(manifest, key, value): def override_manifest(manifest): - with open(manifest_file_firefox, mode='w') as f: + with open(manifest_file_tmp, mode='w') as f: json.dump(manifest, f, ensure_ascii=False, indent=2) @@ -44,7 +44,7 @@ def override_manifest(manifest): project_dir = os.path.abspath(os.path.dirname(__file__) + '/../') manifest_file = project_dir + '/extension/manifest.json' - manifest_file_firefox = project_dir + '/var/extension-tmp/manifest.json' + manifest_file_tmp = project_dir + '/var/extension-tmp/manifest.json' manifest_data = get_manifest_data() browser = 'firefox'