diff --git a/frontend/public/assets/patcherjs/patcher.worker.js b/frontend/public/assets/patcherjs/patcher.worker.js index 92dd2e39a..cd5b1277d 100644 --- a/frontend/public/assets/patcherjs/patcher.worker.js +++ b/frontend/public/assets/patcherjs/patcher.worker.js @@ -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; diff --git a/frontend/src/types/rompatcher.d.ts b/frontend/src/types/rompatcher.d.ts index 49dea76bf..6bd5b1db5 100644 --- a/frontend/src/types/rompatcher.d.ts +++ b/frontend/src/types/rompatcher.d.ts @@ -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; }