Merge pull request #1322 from Rintim/Dev-Enhancement-OncePath

提供新函数,使基于`import.meta.url`的URL转换为无名杀的相对路径
This commit is contained in:
Spmario233 2024-05-07 00:17:31 +08:00 committed by GitHub
commit 8f83f83947
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 216 additions and 608 deletions

View File

@ -1,4 +1,4 @@
export const rootURL = new URL(import.meta.url); export const rootURL = new URL("../", import.meta.url);
export { GNC, gnc, setGNC } from "./noname/gnc/index.js"; export { GNC, gnc, setGNC } from "./noname/gnc/index.js";
export { AI, ai, setAI } from "./noname/ai/index.js"; export { AI, ai, setAI } from "./noname/ai/index.js";

File diff suppressed because it is too large Load Diff