-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fix Debian package erros. Change arch from "amd64" to "all" #288
Conversation
Fix lintian errors Short description in debian/changelog to hide lintian changelog warnings Use launcher scripts that run java and electron from /usr/bin
#!/bin/sh | ||
|
||
if [ ! -f /usr/bin/electron ]; then | ||
echo "Electron executable was not found! In order to run this launcher, you need Electron installed." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe mention the actual package name and an instruction to install electron with apt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find electron in Debian or Ubuntu's repositories. They install it with npm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be like this:
sudo apt install npm
sudo npm install electron -g
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then ship it with the deb package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe someone doesn't want to use Electron launcher and download an additional 100MBs
scripts/debian-packager.sh
Outdated
cp "resources/tachidesk-debug-launcher-standalone.sh" "$orig_dir/debian" | ||
cp "resources/tachidesk-electron-launcher-standalone.sh" "$orig_dir/debian" | ||
cp "resources/tachidesk.desktop" "$orig_dir/debian" | ||
cp "../server/src/main/resources/icon/faviconlogo.png" "$orig_dir/debian" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cp "../server/src/main/resources/icon/faviconlogo.png" "$orig_dir/debian/tachidesk.png"
scripts/resources/debian/install
Outdated
Tachidesk.jar => usr/share/java/tachidesk/tachidesk.jar | ||
debian/faviconlogo.png => usr/share/pixmaps/tachidesk.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debian/tachidesk.png usr/share/pixmaps
Fix lintian errors
Short description in debian/changelog to remove lintian changelog warnings
Use launcher scripts that run java and electron from /usr/bin
I test it properly this time and installed the packaged that GitHub has built on a Debian virtual machine:
https://github.com/mahor1221/Tachidesk-Server/releases