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

creating a .deb package after npm commands #156

Open
sebek0F9 opened this issue Aug 31, 2022 · 4 comments
Open

creating a .deb package after npm commands #156

sebek0F9 opened this issue Aug 31, 2022 · 4 comments

Comments

@sebek0F9
Copy link

i see the airgap-distro hasn't been updated in a while.

v1.3.1 has a deb package for x86 only.

i followed the instructions using npm in the readme.

now i want to create a deb file of this project. (i can edit the airgap-distro script for myself to use this custom deb).

my end goal is to use the vault as a live usb, on either arm64 or amd64. not sure yet which one. anyway, i want to make the deb file to use with the airgap-distro script.

i tried debmake and equivs-build which creates a deb file, only with man pages inside.

can someone guide me?

@AndreasGassmann
Copy link
Member

AndreasGassmann commented Aug 31, 2022

We discontinued the airgap-distro because of the lack of interest back in the day, but we would be interested in reviving it if we can fully automate it. Any help here would be appreciated.

Our CI (GitHub Actions) already builds a linux distribution, but it's an AppImage. Does that also work? Otherwise, I'm sure the build config of electron can be tweaked to make it output a deb file.

You can see the artifacts of the CI here: https://github.com/airgap-it/airgap-vault/actions/runs/2947902323
And the build script for the CI is here: https://github.com/airgap-it/airgap-vault/blob/master/.github/workflows/build.yml#L245

I think back in the day this config was used, but the current electron build might not use the same location for the config anymore: https://github.com/airgap-it/airgap-vault/blob/master/package.json#L175

@sebek0F9
Copy link
Author

sebek0F9 commented Sep 1, 2022

Nice. Thanks, I will check further. I think the app image would work. I will post any kind of progress I make to hopefully contribute

@THOUSAND-SKY
Copy link

The app image just shows a white screen and prints an error

(node:110714) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open './capacitor.config.json'

Adding that file did hide the error, but screen is still just white.

Did anyone get that to work?

@The-Coomer
Copy link

This is still a problem over a year later, is there any chance we can run Airgap Vault on a regular device instead of a mobile phone?

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

No branches or pull requests

4 participants