-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor debian-packager.sh, rename launcher scripts (#303)
* Improve windows-bundler.sh * Overhaul debian-packager.sh. Rename base package name to tachidesk-server * Add -electron-launcher-debian.sh
- Loading branch information
Showing
17 changed files
with
68 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Source: tachidesk | ||
Source: tachidesk-server | ||
Section: web | ||
Priority: optional | ||
Maintainer: Mahor Foruzesh <[email protected]> | ||
Build-Depends: debhelper-compat (= 12), dh-exec | ||
Standards-Version: 4.5.1 | ||
Homepage: https://github.com/Suwayomi/Tachidesk-Server | ||
|
||
Package: tachidesk | ||
Package: tachidesk-server | ||
Architecture: all | ||
Depends: ${misc:Depends}, default-jre-headless (>= 8) | ||
Description: Manga Reader | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#!/usr/bin/dh-exec | ||
|
||
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/ | ||
tachidesk-server-browser-launcher.sh => usr/bin/tachidesk-server-browser | ||
tachidesk-server-debug-launcher.sh => usr/bin/tachidesk-server-debug | ||
tachidesk-server-electron-launcher.sh => usr/bin/tachidesk-server-electron | ||
tachidesk-server.jar usr/share/java/tachidesk-server/ | ||
tachidesk-server.png usr/share/pixmaps/ | ||
tachidesk-server.desktop usr/share/applications/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
debian/tachidesk.png | ||
tachidesk-server.png |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
exec /usr/bin/java -jar /usr/share/java/tachidesk-server/tachidesk-server.jar |
2 changes: 1 addition & 1 deletion
2
...es/tachidesk-debug-launcher-standalone.sh → ...ources/tachidesk-server-debug-launcher.sh
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar /usr/share/java/tachidesk/tachidesk.jar | ||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar /usr/share/java/tachidesk-server/tachidesk-server.jar |
10 changes: 4 additions & 6 deletions
10
...tachidesk-electron-launcher-standalone.sh → ...hidesk-server-electron-launcher-debian.sh
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
#!/bin/sh | ||
|
||
if [ ! -f /usr/bin/electron ]; then | ||
echo "Electron executable was not found! | ||
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 | ||
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 | ||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=/usr/bin/electron -jar /usr/share/java/tachidesk-server/tachidesk-server.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=/usr/bin/electron -jar /usr/share/java/tachidesk-server/tachidesk-server.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Tachidesk-Server | ||
Comment=Manga Reader | ||
Exec=/usr/bin/java -jar /usr/share/java/tachidesk-server/tachidesk-server.jar "\\$@" | ||
Icon=tachidesk-server | ||
Terminal=false | ||
Categories=Network; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters