mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
fix rom-patcher loading
This commit is contained in:
@@ -23,18 +23,18 @@ async function loadScripts() {
|
||||
|
||||
try {
|
||||
importScripts(
|
||||
"/rom-patcher/modules/BinFile.js",
|
||||
"/rom-patcher/modules/HashCalculator.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.aps_gba.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.aps_n64.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.bdf.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.bps.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.ips.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.pmsr.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.ppf.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.rup.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.ups.js",
|
||||
"/rom-patcher/modules/RomPatcher.format.vcdiff.js",
|
||||
"/rom-patcher/BinFile.js",
|
||||
"/rom-patcher/HashCalculator.js",
|
||||
"/rom-patcher/RomPatcher.format.aps_gba.js",
|
||||
"/rom-patcher/RomPatcher.format.aps_n64.js",
|
||||
"/rom-patcher/RomPatcher.format.bdf.js",
|
||||
"/rom-patcher/RomPatcher.format.bps.js",
|
||||
"/rom-patcher/RomPatcher.format.ips.js",
|
||||
"/rom-patcher/RomPatcher.format.pmsr.js",
|
||||
"/rom-patcher/RomPatcher.format.ppf.js",
|
||||
"/rom-patcher/RomPatcher.format.rup.js",
|
||||
"/rom-patcher/RomPatcher.format.ups.js",
|
||||
"/rom-patcher/RomPatcher.format.vcdiff.js",
|
||||
"/rom-patcher/RomPatcher.js",
|
||||
);
|
||||
scriptsLoaded = true;
|
||||
|
||||
2
frontend/src/types/rompatcher.d.ts
vendored
2
frontend/src/types/rompatcher.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
declare module "rom-patcher/rom-patcher-js/*" {
|
||||
declare module "rom-patcher/*" {
|
||||
const value: any;
|
||||
export default value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user