google-chat-linux icon indicating copy to clipboard operation
google-chat-linux copied to clipboard

Add deb package for arm64

Open SmartLayer opened this issue 1 year ago • 5 comments

Currently, to build a deb package for arm64, on an arm64 Linux (in my case, Ubuntu 23.10), one has to run

$ gem install fpm $ USE_SYSTEM_FPM="true" to npm run dist:deb

this is because the default behaviour is to download fpm binary and execute it, and such downloaded fpm is always in x64 format.

SmartLayer avatar Jul 18 '23 09:07 SmartLayer

Hi, I'm not sure it's possible using github build resources, I had a quick look here and didn't find arm runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

I sadly don't even have any arm hardware handy to try locally if it would work.

squalou avatar Jul 23 '23 16:07 squalou

@squalou here you are the arm64 build https://computer.graphic.and.cryptographic.technology/ann/google-chat-linux_5.27.23-6_amd64.deb

I hope there is a way for you to auto build it, because WebCord could, there must be a way. They use electron-forge though.

SmartLayer avatar Feb 06 '24 00:02 SmartLayer

Btw, why do you call this project google-chat-linux if it is cross platform and has windows .exe build?

SmartLayer avatar Feb 06 '24 04:02 SmartLayer

Btw, why do you call this project google-chat-linux if it is cross platform and has windows .exe build?

That's a long story that sums up as this :

  • once upon a time there was a windows client made by google, and also a MacOS one
  • as usual, poor linux had not, someone did one, I picked it up when its creator stopped using google chat
  • and ... google stopped the windows client so I added a windows build for some colleagues.

And never changed the name ever since. Now these colleagues have a "linux" something on their PC, even if it's just a name :) + to be honest I'm not sure anyone is still using it / if it really works fine.

squalou avatar Feb 06 '24 06:02 squalou

@squalou here you are the arm64 build https://computer.graphic.and.cryptographic.technology/ann/google-chat-linux_5.27.23-6_amd64.deb

I hope there is a way for you to auto build it, because WebCord could, there must be a way. They use electron-forge though.

Great news !

I'll give it a try, I never checked if ARM was supported by github actions, time to learn !

squalou avatar Feb 06 '24 06:02 squalou