Replies: 1 comment 1 reply
-
Thorium's Docker builder for Linux also uses the Lines 46 to 51 in 7e60288 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted an epub reader with video/audio support on the raspberry pi 5, but knowing nothing of nodejs/npm/electron it wasn't immediately clear to me how to get thorium reader installed.
The steps I took to get it running on Raspberry Pi OS bookworm 64-bit are listed below in case someone else has problems building a deb.
Change architecture to arm64 and add the USE_SYSTEM_FPM environment variable to the package:linux line in the package.json file:
"package:linux": "cross-env DEBUG=* CSC_IDENTITY_AUTO_DISCOVERY=false USE_SYSTEM_FPM=true electron-builder --linux --arm64 --publish never"
USE_SYSTEM_FPM=true is necessary to not automatically download the wrong version (x86) of fpm.
(https://www.beekeeperstudio.io/blog/electron-apps-for-arm-and-raspberry-pi)
Beta Was this translation helpful? Give feedback.
All reactions