Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide ARM64 version of the app #207

Open
as400l opened this issue Feb 6, 2023 · 1 comment
Open

Please provide ARM64 version of the app #207

as400l opened this issue Feb 6, 2023 · 1 comment

Comments

@as400l
Copy link

as400l commented Feb 6, 2023

Hi, there are more and more devices running arm64 CPUs. So please provide arm64 version of the app.
Alternatively make onlykey-cli even on functionality with the gui app. So eg one can make firmware updates from cli etc.

thx

@nkichukov
Copy link

I've been running this app on aarch64 for a few years already without any problems. You need to download:
https://github.com/LeonardLaszlo/nw.js-armv7-binaries/releases/download/nw54-arm64_2021-07-10/nw54-arm64_2021-07-10.tar.gz (1.)

and extract this file from (1.): usr/docker/dist/nwjs-chromium-ffmpeg-branding/nwjs-v0.54.2-linux-arm64.tar.gz (2.)

Then extract from (2.) into this folder: resources/nw/nwjs/

Before building I have a patch (I do not remember why this was needed, but it is part of my ebuild):

--- a/tasks/build.js	2020-12-06 00:07:21.000000000 +0100
+++ b/tasks/build.js	2021-02-21 00:55:59.964170524 +0100
@@ -48,6 +48,10 @@
 
   if (getEnvName() === "production") {
     console.log(`Copying node_modules from ${getNodeModulesDir()}...`);
+    projectDir.copy("resources/nw", projectDir.path("release_node_modules/node_modules/nw/"), {
+      overwrite: true,
+      matching: ["*"],
+    });
     rootDir.copy(`${getNodeModulesDir()}`, destDir.path("node_modules"), {
       matching: ["!nw/**/*"],
       overwrite: true,

and then build the app as usual:
npm run release

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants