Electron arm64

This commit is contained in:
Natsumi
2025-08-31 18:07:20 +12:00
parent d6a1004632
commit 61d34db219
4 changed files with 40 additions and 8 deletions

View File

@@ -43,6 +43,9 @@ switch (process.platform) {
platformName = 'linux';
break;
}
if (process.arch === 'arm64') {
platformName += '-arm64';
}
const postBuildPath = path.join(
__dirname,
`./../build/${platformName}-unpacked/resources/app.asar.unpacked/node_modules/node-api-dotnet/init.js`