Answer the question
In order to leave comments, you need to log in
How to build Electron app deb package for Launchpad PPA?
Good day to everyone!))
In short, I'm making an application on Electrone, collecting it for different distros via electron-builder, deb, rpm, pacman, appimage, snap. But electron-builder doesn't know how to build deb for PPA. And so I decided to do it myself ... PPC ...
In general, I created a turnip, a gpg key, signed everything, danced everything as it should be with a tambourine.
And now I'm stuck on the fact that if I build the package as source, then launchpad accepts all the files, it builds the package itself, but it turns out to be empty. If I say that this package is not source, but binary, then launchpad sends me a message like this:
Rejected:
Upload rejected because it contains binary packages.
Ensure you are using `debuild -S`, or an equivalent
command, to generate only the source package before
re-uploading.
$ dpkg -c figma-linux_0.3.0-1ubuntu6_all.deb
drwxr-xr-x root/root 0 2019-01-20 09:54 ./
drwxr-xr-x root/root 0 2019-01-20 09:54 ./usr/
drwxr-xr-x root/root 0 2019-01-20 09:54 ./usr/share/
drwxr-xr-x root/root 0 2019-01-20 09:54 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-01-20 09:54 ./usr/share/doc/figma-linux/
-rw-r--r-- root/root 188 2019-01-19 22:51 ./usr/share/doc/figma-linux/README.Debian
-rw-r--r-- root/root 303 2019-01-20 09:54 ./usr/share/doc/figma-linux/changelog.Debian.gz
-rw-r--r-- root/root 1271 2019-01-20 09:50 ./usr/share/doc/figma-linux/copyright
Answer the question
In order to leave comments, you need to log in
In general, I solved this issue and now I can upload the binaries of the Electron application to Launchpad and it will collect them into a deb package. Everything is working. The method is a crutch, but it works. If anyone is interested, write. I'll try to explain this shit in detail.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question