From e87a36d1581b0e2d67357c860bbf0e847a644671 Mon Sep 17 00:00:00 2001 From: LatoWolf Date: Thu, 26 Feb 2026 03:12:53 +0800 Subject: [PATCH] Use dynamic require instead of ESM style import (no type check in this case) --- sdvx@asphyxia/README.md | 6 +++++- sdvx@asphyxia/index.ts | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sdvx@asphyxia/README.md b/sdvx@asphyxia/README.md index c7f7328..98508c0 100644 --- a/sdvx@asphyxia/README.md +++ b/sdvx@asphyxia/README.md @@ -1,6 +1,6 @@ # SOUND VOLTEX -Plugin Version: **v6.2.0** +Plugin Version: **v6.2.1** ## Provide out of box usable exprience, everything is unlocked and good to go. @@ -33,6 +33,10 @@ This version save data is not compatible with some forks plugin, please use it w Change Log =========== +## 6.2.1 + +1. Fix asset loading error when plugin is initializing without node type installed. + ## 6.2.0 1. Support EG Final 2025120900. diff --git a/sdvx@asphyxia/index.ts b/sdvx@asphyxia/index.ts index f59bb51..c5699aa 100644 --- a/sdvx@asphyxia/index.ts +++ b/sdvx@asphyxia/index.ts @@ -35,13 +35,12 @@ import { TRANSLATION_TABLE } from './utils'; import { MusicRecord } from './models/music_record'; -import path from 'path'; - export let music_db; function load_music_db(){ const fs = require('fs'); + const path = require('path'); if (U.GetConfig('sdvx_path') == '') { console.log('sdvx_path is not set, skipping music_db load');