From 8b6cedb20dbf2230108ef817272fbd9104dcb7f2 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sat, 18 Jan 2025 12:42:39 +0800 Subject: [PATCH] feat: fix single script 404 --- script-config.json | 2 +- script-meta-v2.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script-config.json b/script-config.json index 68d5b2f..ea0c50b 100644 --- a/script-config.json +++ b/script-config.json @@ -1,6 +1,6 @@ { "file_ext": "rs", - "simple_script_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/master/single-scripts/$NAME", + "simple_script_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/main/single-scripts/$NAME", "project_script_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/main/$NAME/src/main.rs", "skip_dirs": [] } diff --git a/script-meta-v2.json b/script-meta-v2.json index 2fae76d..48021f1 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -33,7 +33,7 @@ "script_name": "helloworld.rs", "script_length": 64, "script_sha256": "b1cf245146e6684986b1f0788d2282fdb1c617eac0961a84bfbd65f386975993", - "script_full_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/master/single-scripts/helloworld.rs", + "script_full_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/main/single-scripts/helloworld.rs", "single_script_file": true }, "makepassword.rs": {