Desktop: Resolves: Generate .deb installer for Joplin Desktop #11526
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Creates a .deb installer for Joplin Desktop.
By default, the
electron-builder
will use the package name as the name of the executable, so I add anexecutableName
so package can be executed in CLI by runningjoplin
instead of@joplinapp-desktop
, for similar reason I also added theartifactName
, without it the debian file would end-up onapp-desktop/dist/@joplin/
instead ofapp-desktop/dist/
.Information about the package after installation
``` js@mint:~/Desktop/joplin/fork/packages/app-desktop/dist$ sudo apt show joplin Package: joplin Version: 3.2.4 Status: install ok installed Priority: optional Section: default Maintainer: Joplin Team Installed-Size: 867 MB Depends: libgtk-3-0, libnotify4, libnss3, libxss1, libxtst6, xdg-utils, libatspi2.0-0, libuuid1, libsecret-1-0 Recommends: libappindicator3-1 Homepage: https://github.com/laurent22/joplin#readme License: AGPL-3.0-or-later Vendor: Joplin Team Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: Joplin for Desktop ```Testing
yarn dist
onapp-desktop
projectapp-desktop/dist
foldersudo dpkg -i Joplin-${version}.deb
to install the package on Debian derivated machines