[exe] install dependencies and download dist

This commit is contained in:
Louis Lam 2022-10-09 03:47:06 +08:00
parent 655ba015a0
commit a487347b33
2 changed files with 12 additions and 11 deletions

View file

@ -45,7 +45,7 @@ namespace UptimeKuma {
trayIcon.MouseDoubleClick += new MouseEventHandler(Open);
trayIcon.Visible = true;
if (Directory.Exists("core") && Directory.Exists("node") && Directory.Exists("core/node_modules")) {
if (Directory.Exists("core") && Directory.Exists("node") && Directory.Exists("core/node_modules") && Directory.Exists("core/dist")) {
// Go go go
StartProcess();
} else {