Closed iljo-dp closed 2 months ago
First we should determine if the user running the script uses arm64 or amd64 we can do this the following way
if uname -m | grep -q "aarch64"; then
echo "ARM64 architecture"
fi
if uname -m | grep -q "x86_64"; then
echo "AMD64 (x86_64) architecture"
fi
I think the script should be 1 command for any architecture, and that we detect arm64 or amd64 and change our downloads accordingly. I think the first step is now finding which apps all are specifically amd64, so we should compile a list for them(for example, neovim) And if we have a list and a way of detecting arm or amd the next step is to implement a way to change which to install
I tried to install it inside a VM on my Mac. I guess a lack of ARM support is why most tools are missing. Would be nice to support this, especially for people on a Mac who want to try it out 😆
@dhh do you want 2 files, one for arm64 and one for amd64, or an if statement to check if arm64 or amd64? I'd start you omakub script by doing the check I did above here, and then setting a variable like arm = true for example. And if we do if else we can just check if arm is true or not and then run the different file? Do you find this good or not? Then we can start implementing this
if given a go, or a direction I'd like to implement this and try to get this working :D
Omakub on arm64 for example does not support out of the box Zellij and Spotify.
today/tomorrow I'il start with the arm64 additions
by the end of today I'il submit my pr with the fixes for arm64 It's going along very nice
should be ready now, there are some apps that don't have an arm port, currently I just didn't support this, since this is DHH's script I won't choose alternatives for him(like web apps), but I think i'm ready now, if someone wants to review the code I'd be very glad #29
Just wanted to testdrive omakub in a Ubuntu ARM64 24.04 LTS and it's ofc not running through. Temporary fix could be to disable all things that are not installable with ARM64?
Working on this in #29. Let's focus all the discussion there.
I don't really have any strong input here, but I tought to perhaps leave this issue here to discuss it, and let DHH propose a solution we can all work on.