mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
the new and simple way of packaging windows
This commit is contained in:
1
scripts/resources/Tachidesk Launcher.bat
Normal file
1
scripts/resources/Tachidesk Launcher.bat
Normal file
@@ -0,0 +1 @@
|
||||
start "" jre/bin/javaw -jar Tachidesk.jar
|
||||
5
scripts/resources/Tachidesk Launcher.c
Normal file
5
scripts/resources/Tachidesk Launcher.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main() {
|
||||
system("start jre\\bin\\javaw -jar Tachidesk.jar");
|
||||
}
|
||||
BIN
scripts/resources/Tachidesk Launcher.exe
Normal file
BIN
scripts/resources/Tachidesk Launcher.exe
Normal file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
start "" "jre/bin/javaw -jar Tachidesk.jar"
|
||||
3
scripts/resources/readme.md
Normal file
3
scripts/resources/readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Building `Tachidesk Launcher.exe`
|
||||
1. compile `Tachidesk Launcher.c` statically using GCC MinGW: `gcc -o "Tachidesk Launcher.exe" "Tachidesk Launcher.c"`
|
||||
2. Add `server/src/main/resources/icon/faviconlogo.ico` into the exe with `rcedit` from the electron project: `rcedit "Tachidesk Launcher.exe" --set-icon "faviconlogo.ico"`
|
||||
Reference in New Issue
Block a user