-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support linux arm64 #352
Comments
The .AppImage and .deb version from the web should work. I have pushed a small change to the dev branch now, try if that works. |
The .AppImage and .deb files from the web are x86_64. Recent MacBooks use 64-bit arm processors. Attempting to execute it gives an error:
The changes you committed does not make the produced |
Okay. Try using "npm run release --arm64". Does that work? |
Still exact same error as screenshot above running
|
Looks like an upstream issue: electron-userland/electron-builder#7835 |
Hmm... I also found this: AppImage/AppImageKit#1092 (comment) |
Yes, now the AppImage works. |
Awesome! Now it's just the case of creating releases that also works.. |
When starting the AppImage, there are troubles checking for new versions, I guess. But that is not surprising as it is not supported yet. :-)
|
Looks like it can't be build using GitHub actions yet: https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/ |
Linking this: electron-userland/electron-builder#5689 (comment) |
The link in #352 (comment) seems to relate to running the original OSX on the arm mac. I am running linux on it. |
Yes, but I need the same config for the electron builder packaging on Linux. |
I looked into it a bit more, and managed to make it work with this configuration: "target": [
{
"target": "AppImage",
"arch": ["x64", "arm64"]
},
{
"target": "deb"
}
] |
Please check out the arm64 version on the website: https://freeshow.app/downloads |
It works just fine. |
Awesome! 😁 |
Hi, does the arm64 work well with your arm64 computer? Could you tell me if you downloaded the AppImage or Deb? |
@yanguoyu I use the AppImage. You need to make it executable first, see https://appimage.org/ for how to run an AppImage |
Hi, I have made it executable. My Linux version is Ubuntu 24.04.6 and is Arm64. And after I execute the AppImage, there's nothing happened. |
If you start it in a terminal, do you get any output?
|
Aarh, yes, you need the workaround mentioned in #352 (comment) |
Thanks, I mistakenly thought that the action was executed on the package machine. It was needed to execute on my computer. |
I now have a MacBook Pro M2 running Asahi Linux and I would like to run FreeShow on it. I tried to build it by running:
npm install
npm run build
npm run release
The last command fails with:
At that point the appimage is built. But running it fails with:
./FreeShow-1.1.0-arm64.AppImage: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
In
dist/linux-arm64-unpacked
thefreeshow
command works and invokes FreeShow.The text was updated successfully, but these errors were encountered: