This commit is contained in:
Louis Lam 2022-10-08 23:47:27 +08:00
parent 3eaccb560e
commit 655ba015a0
3 changed files with 121 additions and 11 deletions

View file

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