mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
fix Debian package errors (#288)
* Fix lintian errors Fix lintian errors Short description in debian/changelog to hide lintian changelog warnings Use launcher scripts that run java and electron from /usr/bin * Update changelog version * Rename laucnher scripts. Put electron installaion guide in electron-launcher-standalone.sh * Seperate debian packager codes from unix-bundler.sh * chmod +x debian-packager.sh * Fix mistakes * Fix mistakes * Add missing '!' to shebang * Change faviconlogo.png to tachidesk.png * Change faviconlogo.png to tachidesk.png
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
tachidesk (${version}-1) unstable; urgency=medium
|
||||
|
||||
* See CHANGELOG.md on https://github.com/Suwayomi/Tachidesk-Server
|
||||
|
||||
-- Mahor Foruzesh <mahorforuzesh@pm.me> Fri, 14 Jan 2022 00:00:00 +0000
|
||||
|
||||
@@ -7,7 +7,7 @@ Standards-Version: 4.5.1
|
||||
Homepage: https://github.com/Suwayomi/Tachidesk-Server
|
||||
|
||||
Package: tachidesk
|
||||
Architecture: amd64
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, default-jre-headless (>= 8)
|
||||
Description: Manga Reader
|
||||
A free and open source manga reader server that runs extensions built for Tachiyomi.
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/dh-exec
|
||||
|
||||
debian/tachidesk.png usr/share/pixmaps/
|
||||
debian/tachidesk.desktop usr/share/applications/
|
||||
tachidesk-browser-launcher.sh => usr/bin/tachidesk
|
||||
tachidesk-browser-launcher.sh => usr/bin/tachidesk-browser
|
||||
tachidesk-debug-launcher.sh => usr/bin/tachidesk-debug
|
||||
tachidesk-electron-launcher.sh => usr/bin/tachidesk-electron
|
||||
debian/tachidesk-browser-launcher-standalone.sh => usr/bin/tachidesk
|
||||
debian/tachidesk-browser-launcher-standalone.sh => usr/bin/tachidesk-browser
|
||||
debian/tachidesk-debug-launcher-standalone.sh => usr/bin/tachidesk-debug
|
||||
debian/tachidesk-electron-launcher-standalone.sh => usr/bin/tachidesk-electron
|
||||
Tachidesk.jar => usr/share/java/tachidesk/tachidesk.jar
|
||||
debian/tachidesk.png usr/share/pixmaps/
|
||||
debian/tachidesk.desktop usr/share/applications/
|
||||
|
||||
2
scripts/resources/tachidesk-browser-launcher-standalone.sh
Executable file
2
scripts/resources/tachidesk-browser-launcher-standalone.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/java -jar /usr/share/java/tachidesk/tachidesk.jar
|
||||
2
scripts/resources/tachidesk-debug-launcher-standalone.sh
Executable file
2
scripts/resources/tachidesk-debug-launcher-standalone.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar /usr/share/java/tachidesk/tachidesk.jar
|
||||
14
scripts/resources/tachidesk-electron-launcher-standalone.sh
Executable file
14
scripts/resources/tachidesk-electron-launcher-standalone.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f /usr/bin/electron ]; then
|
||||
echo "Electron executable was not found!
|
||||
In order to run this launcher, you need Electron installed.
|
||||
|
||||
You can install it with these commands:
|
||||
sudo apt install npm
|
||||
sudo npm install electron -g
|
||||
"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=/usr/bin/electron -jar /usr/share/java/tachidesk/tachidesk.jar
|
||||
Reference in New Issue
Block a user