From f74067f468771cb2ea0ecadbf0eacf96c8a3fe8c Mon Sep 17 00:00:00 2001 From: Sliverkiss <1393579810@qq.com> Date: Tue, 20 Feb 2024 21:45:28 +0800 Subject: [PATCH] Update generate_image_json.py --- .github/scripts/generate_image_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/generate_image_json.py b/.github/scripts/generate_image_json.py index 9438765..9836eec 100644 --- a/.github/scripts/generate_image_json.py +++ b/.github/scripts/generate_image_json.py @@ -2,7 +2,7 @@ import os import json def generate_json(): - image_folder = 'test' + image_folder = 'icon' json_data = { "name": "Sakura图标订阅", "description": "收集一些自己脚本用到的图标", @@ -17,7 +17,7 @@ def generate_json(): json_data["icons"].append(icon_data) # Set the output path relative to the repository root - output_path = os.path.join(os.getcwd(), 'test.icons.json') + output_path = os.path.join(os.getcwd(), 'sliverkiss.icons.json') with open(output_path, 'w', encoding='utf-8') as json_file: json.dump(json_data, json_file, ensure_ascii=False, indent=2)