Merge pull request #78 from dannylin0711/stable

fix(sdvx): Use dynamic require instead of ESM style import
This commit is contained in:
Freddie W 2026-02-26 04:12:05 +08:00 committed by GitHub
commit 34b173ba49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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');