mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
arm64 pls pls
This commit is contained in:
@@ -69,7 +69,12 @@ tryRelaunchWithArgs(args);
|
||||
tryCopyFromWinePrefix();
|
||||
|
||||
const rootDir = app.getAppPath();
|
||||
require(path.join(rootDir, 'build/Electron/VRCX-Electron.cjs'));
|
||||
const armPath = path.join(rootDir, 'build/Electron/VRCX-Electron-arm64.cjs');
|
||||
if (fs.existsSync(armPath)) {
|
||||
require(armPath);
|
||||
} else {
|
||||
require(path.join(rootDir, 'build/Electron/VRCX-Electron.cjs'));
|
||||
}
|
||||
|
||||
const InteropApi = require('./InteropApi');
|
||||
const interopApi = new InteropApi();
|
||||
|
||||
Reference in New Issue
Block a user