modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
1k stars 188 forks source link

Builds for Linux ARM64 #776

Open Stoutscientist opened 1 year ago

Stoutscientist commented 1 year ago

Is your suggested enhancement related to a problem? Please describe.

There are no builds for ARM64

Describe the solution you'd like

It would be awesome if ARM64 Linux support was added.

Describe alternatives you've considered

No response

Additional context

No response

AnOpenSauceDev commented 1 year ago

497 and #73 cover this (TL:DR: there will be support eventually)

Modrinth "works" with ARM64, if you build from source, but iirc it currently assumes that all Linux is x86_64 and downloads the wrong natives, so you can't get past the initial part of the launcher.

furax124 commented 4 months ago

497 and #73 cover this (TL:DR: there will be support eventually)

Modrinth "works" with ARM64, if you build from source, but iirc it currently assumes that all Linux is x86_64 and downloads the wrong natives, so you can't get past the initial part of the launcher.

Hey how can I compile it ? There is a tutorial or smth ?

AnOpenSauceDev commented 4 months ago

Back when I compiled for ARM, I used the command nix shell --accept-flake-config github:getchoo/nix-exprs#modrinth-app on the nix flake with a Raspberry PI. I don't know if anything has changed though.

I'm pretty sure that if you compile this, it's going to open to a blank window and throw a bunch of errors like last time.

furax124 commented 4 months ago

Back when I compiled for ARM, I used the command nix shell --accept-flake-config github:getchoo/nix-exprs#modrinth-app on the nix flake with a Raspberry PI. I don't know if anything has changed though.

I'm pretty sure that if you compile this, it's going to open to a blank window and throw a bunch of errors like last time.

oh i tough there is a stable version of it but thx i will try this

AnOpenSauceDev commented 4 months ago

I haven't checked recently, and I really don't want to recompile on something with 1GB of ram. Either way, if it's not a tauri issue it probably won't be hard to fix if you look into the codebase and test it on your ARM machine.

flikrheist commented 5 days ago

2963