mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-04-26 02:02:29 -05:00
Use dynamic require instead of ESM style import (no type check in this case)
This commit is contained in:
parent
4e05f9107f
commit
e87a36d158
|
|
@ -1,6 +1,6 @@
|
||||||
# SOUND VOLTEX
|
# 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.
|
## 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
|
Change Log
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
## 6.2.1
|
||||||
|
|
||||||
|
1. Fix asset loading error when plugin is initializing without node type installed.
|
||||||
|
|
||||||
## 6.2.0
|
## 6.2.0
|
||||||
|
|
||||||
1. Support EG Final 2025120900.
|
1. Support EG Final 2025120900.
|
||||||
|
|
|
||||||
|
|
@ -35,13 +35,12 @@ import { TRANSLATION_TABLE } from './utils';
|
||||||
|
|
||||||
import { MusicRecord } from './models/music_record';
|
import { MusicRecord } from './models/music_record';
|
||||||
|
|
||||||
import path from 'path';
|
|
||||||
|
|
||||||
export let music_db;
|
export let music_db;
|
||||||
|
|
||||||
function load_music_db(){
|
function load_music_db(){
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
if (U.GetConfig('sdvx_path') == '') {
|
if (U.GetConfig('sdvx_path') == '') {
|
||||||
console.log('sdvx_path is not set, skipping music_db load');
|
console.log('sdvx_path is not set, skipping music_db load');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user