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

#155 Initial arm support #302

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

Conversation

adamurban
Copy link

First pass at adding arm support. Expects chromium to be installed at /usr/bin/chromium (Which a normal installation should be, eg from sudo apt-get install chromium on a raspberry pi running the Raspberry Pi OS).

@@ -48,7 +50,9 @@

def current_platform() -> str:
"""Get current platform name by short string."""
if sys.platform.startswith('linux'):
if ("system='Linux" and "machine='armv") in str(platform.uname()):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try typing

("system='Linux" and "machine='armv")

Into your REPL and see what it evaluates to :)

@timetheoretical
Copy link

timetheoretical commented Dec 30, 2021

I submitted a pull request to adamurban#1 that fixes the above issues. Had to change the default installation path to chromium-browser for it to work on Raspberry Pi (there's no package called chromium in the package manager).

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

Successfully merging this pull request may close these issues.

None yet

3 participants