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

Linux version #34

Open
el3um4s opened this issue Jun 17, 2022 · 7 comments
Open

Linux version #34

el3um4s opened this issue Jun 17, 2022 · 7 comments
Labels
enhancement New feature or request linux

Comments

@el3um4s
Copy link
Owner

el3um4s commented Jun 17, 2022

No description provided.

@el3um4s el3um4s added enhancement New feature or request linux labels Jun 17, 2022
@el3um4s
Copy link
Owner Author

el3um4s commented Jun 17, 2022

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 18, 2022

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 19, 2022

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 19, 2022

electron-userland/electron-builder#4938

    "linux": {
      "icon": "icon.png",
      "target": [
        "deb",
        "AppImage",
        "rpm",
        "tar.xz"
      ],
      "category": "productivity"
    },

https://www.electron.build/configuration/linux.html

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 19, 2022

GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN"

Go to https://github.com/settings/tokens and create a personal access token. The access token should have the repo scope/permission. Once you have the token, assign it to an environment variable

On macOS/linux:

https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-environment-variables-in-linux/
export GH_TOKEN=<YOUR_TOKEN_HERE>

On Windows, run in powershell:

[Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 19, 2022

@el3um4s
Copy link
Owner Author

el3um4s commented Jun 30, 2022

Pacman

electron-userland/electron-builder#4181 (comment)

Error is:

Process failed: bash failed (exit code 127). Full command was:["bash", "-c", "LANG=C bsdtar -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' .INSTALL opt usr .PKGINFO"]

On Ubuntu 20.04, I tried sudo apt install bsdtar and I get this

Package bsdtar is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or is only available from another source

However the following packages replace it: libarchive-tools:i386 libarchive-tools
E: Package 'bsdtar' has no installation candidate

Instead you need to install libarchive-tools

sudo apt install libarchive-tools

Then it works to build for archlinux in debian/ubuntu

rpm

to build rpm, executable rpmbuild is required, please install:

sudo apt-get install rpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linux
Projects
None yet
Development

No branches or pull requests

1 participant