Skip to content

Commit

Permalink
Rename every instance of Tachidesk jar to Tachdidesk-Server.jar (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaMoradi authored Aug 10, 2022
1 parent 9dc5981 commit 55240d9
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions scripts/bundler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ copy_linux_package_assets_to() {
}

make_linux_bundle() {
cp "$JAR" "$RELEASE_NAME/tachidesk-server.jar"
cp "$JAR" "$RELEASE_NAME/Tachidesk-Server.jar"
cp "scripts/resources/tachidesk-server-browser-launcher.sh" "$RELEASE_NAME/"
cp "scripts/resources/tachidesk-server-debug-launcher.sh" "$RELEASE_NAME/"
cp "scripts/resources/tachidesk-server-electron-launcher.sh" "$RELEASE_NAME/"
Expand All @@ -169,7 +169,7 @@ make_linux_bundle() {
}

make_macos_bundle() {
cp "$JAR" "$RELEASE_NAME/Tachidesk.jar"
cp "$JAR" "$RELEASE_NAME/Tachidesk-Server.jar"
cp "scripts/resources/Tachidesk Browser Launcher.command" "$RELEASE_NAME/"
cp "scripts/resources/Tachidesk Debug Launcher.command" "$RELEASE_NAME/"
cp "scripts/resources/Tachidesk Electron Launcher.command" "$RELEASE_NAME/"
Expand All @@ -184,7 +184,7 @@ make_deb_package() {
temp_dir="$(mktemp -d)"
trap "rm -rf $temp_dir" RETURN

cp "$JAR" "$RELEASE_NAME/tachidesk-server.jar"
cp "$JAR" "$RELEASE_NAME/Tachidesk-Server.jar"
tar -I "gzip" -cvf "$RELEASE_NAME.tar.gz" "$RELEASE_NAME/"
#behind $RELEASE_VERSION is underscore "_"
local upstream_source="tachidesk-server_$RELEASE_VERSION.orig.tar.gz"
Expand Down Expand Up @@ -236,7 +236,7 @@ make_windows_bundle() {
#WINEARCH=win32 wine "$rcedit" "$RELEASE_NAME/electron/electron.exe" \
# --set-icon "$icon"

cp "$JAR" "$RELEASE_NAME/Tachidesk.jar"
cp "$JAR" "$RELEASE_NAME/Tachidesk-Server.jar"
cp "scripts/resources/Tachidesk Browser Launcher.bat" "$RELEASE_NAME"
cp "scripts/resources/Tachidesk Debug Launcher.bat" "$RELEASE_NAME"
cp "scripts/resources/Tachidesk Electron Launcher.bat" "$RELEASE_NAME"
Expand Down
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Browser Launcher.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
start "" jre/bin/javaw -jar Tachidesk.jar
start "" jre/bin/javaw -jar Tachidesk-Server.jasr
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Browser Launcher.command
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cd "`dirname "$0"`"

./jre/Contents/Home/bin/java -jar Tachidesk.jar
./jre/Contents/Home/bin/java -jar Tachidesk-Server.jasr
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Debug Launcher.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:: cleaner output
@echo off

jre\bin\java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar Tachidesk.jar
jre\bin\java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar Tachidesk-Server.jasr

:: Prevent cmd from closing when Tachidesk crashes
pause
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Debug Launcher.command
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cd "`dirname "$0"`"

./jre/Contents/Home/bin/java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar Tachidesk.jar
./jre/Contents/Home/bin/java -Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true -jar Tachidesk-Server.jasr
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Electron Launcher.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jre\bin\javaw "-Dsuwayomi.tachidesk.config.server.webUIInterface=electron" "-Dsuwayomi.tachidesk.config.server.electronPath=electron/electron.exe" -jar Tachidesk.jar
jre\bin\javaw "-Dsuwayomi.tachidesk.config.server.webUIInterface=electron" "-Dsuwayomi.tachidesk.config.server.electronPath=electron/electron.exe" -jar Tachidesk-Server.jasr
2 changes: 1 addition & 1 deletion scripts/resources/Tachidesk Electron Launcher.command
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cd "`dirname "$0"`"

./jre/Contents/Home/bin/java "-Dsuwayomi.tachidesk.config.server.webUIInterface=electron" "-Dsuwayomi.tachidesk.config.server.electronPath=electron/Electron.app/Contents/MacOS/Electron" -jar Tachidesk.jar
./jre/Contents/Home/bin/java "-Dsuwayomi.tachidesk.config.server.webUIInterface=electron" "-Dsuwayomi.tachidesk.config.server.electronPath=electron/Electron.app/Contents/MacOS/Electron" -jar Tachidesk-Server.jasr
2 changes: 1 addition & 1 deletion scripts/resources/deb/install
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/dh-exec

tachidesk-server.jar usr/share/java/tachidesk-server/
Tachidesk-Server.jar usr/share/java/tachidesk-server/
debian/tachidesk-server.png usr/share/pixmaps/
debian/tachidesk-server.desktop usr/share/applications/
debian/tachidesk-server.service usr/lib/systemd/system/
Expand Down
2 changes: 1 addition & 1 deletion scripts/resources/msi/tachidesk-server-x64.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<!-- Component -->
<DirectoryRef Id="INSTALLDIR">
<Component Id="TachideskJAR" Guid="*" Win64="yes">
<File Id="Tachidesk.jar" Source="$(var.SourceDir)/Tachidesk.jar" KeyPath="yes" />
<File Id="Tachidesk-Server.jar" Source="$(var.SourceDir)/Tachidesk-Server.jar" KeyPath="yes" />
</Component>

<Component Id="TachideskBrowserBAT" Guid="*" Win64="yes">
Expand Down
2 changes: 1 addition & 1 deletion scripts/resources/msi/tachidesk-server-x86.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<!-- Component -->
<DirectoryRef Id="INSTALLDIR">
<Component Id="TachideskJAR" Guid="*">
<File Id="Tachidesk.jar" Source="$(var.SourceDir)/Tachidesk.jar" KeyPath="yes" />
<File Id="Tachidesk-Server.jar" Source="$(var.SourceDir)/Tachidesk-Server.jar" KeyPath="yes" />
</Component>

<Component Id="TachideskBrowserBAT" Guid="*">
Expand Down
2 changes: 1 addition & 1 deletion scripts/resources/pkg/systemd/tachidesk-server.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Group=tachidesk
SyslogIdentifier=tachidesk

EnvironmentFile=/etc/tachidesk/server.conf
ExecStart=/usr/bin/java $JAVA_ARGS -Dsuwayomi.tachidesk.config.server.rootDir="${TACHIDESK_ROOT_DIR}" -jar /usr/share/java/tachidesk-server/tachidesk-server.jar
ExecStart=/usr/bin/java $JAVA_ARGS -Dsuwayomi.tachidesk.config.server.rootDir="${TACHIDESK_ROOT_DIR}" -jar /usr/share/java/tachidesk-server/Tachidesk-Server.jar
Restart=on-failure

ProtectSystem=full
Expand Down
2 changes: 1 addition & 1 deletion scripts/resources/pkg/tachidesk-server-browser-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

exec /usr/bin/java -jar /usr/share/java/tachidesk-server/tachidesk-server.jar
exec /usr/bin/java -jar /usr/share/java/tachidesk-server/Tachidesk-Server.jar
2 changes: 1 addition & 1 deletion scripts/resources/pkg/tachidesk-server-debug-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

exec /usr/bin/java \
-Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true \
-jar /usr/share/java/tachidesk-server/tachidesk-server.jar
-jar /usr/share/java/tachidesk-server/Tachidesk-Server.jar
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ fi
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
-jar /usr/share/java/tachidesk-server/Tachidesk-Server.jar
2 changes: 1 addition & 1 deletion scripts/resources/pkg/tachidesk-server.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Type=Application
Name=Tachidesk-Server
Comment=Manga Reader
Exec=/usr/bin/java -jar /usr/share/java/tachidesk-server/tachidesk-server.jar "\\$@"
Exec=/usr/bin/java -jar /usr/share/java/tachidesk-server/Tachidesk-Server.jar "\\$@"
Icon=tachidesk-server
Terminal=false
Categories=Network;
2 changes: 1 addition & 1 deletion scripts/resources/tachidesk-server-browser-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

exec ./jre/bin/java -jar ./tachidesk-server.jar
exec ./jre/bin/java -jar ./Tachidesk-Server.jar
2 changes: 1 addition & 1 deletion scripts/resources/tachidesk-server-debug-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

exec ./jre/bin/java \
-Dsuwayomi.tachidesk.config.server.debugLogsEnabled=true \
-jar ./tachidesk-server.jar
-jar ./Tachidesk-Server.jar
2 changes: 1 addition & 1 deletion scripts/resources/tachidesk-server-electron-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
exec ./jre/bin/java \
-Dsuwayomi.tachidesk.config.server.webUIInterface=electron \
-Dsuwayomi.tachidesk.config.server.electronPath=./electron/electron \
-jar ./tachidesk-server.jar
-jar ./Tachidesk-Server.jar

0 comments on commit 55240d9

Please sign in to comment.