the new and simple way of packaging windows

This commit is contained in:
Aria Moradi
2021-05-18 21:31:25 +04:30
parent cacc97cec7
commit c1baa31eed
8 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1 @@
start "" jre/bin/javaw -jar Tachidesk.jar

View File

@@ -0,0 +1,5 @@
#include <stdlib.h>
int main() {
system("start jre\\bin\\javaw -jar Tachidesk.jar");
}

Binary file not shown.

View File

@@ -1 +0,0 @@
start "" "jre/bin/javaw -jar Tachidesk.jar"

View 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"`