desktop: fix node version is different error on startup

This commit is contained in:
Abdullah Atta
2024-11-15 10:42:17 +05:00
parent 34d0123351
commit 7748cf453c
2 changed files with 589 additions and 72 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -36,6 +36,8 @@ const ENV = {
FORCE_COLOR: "false",
COLOR: "0"
};
process.chdir(path.join(__dirname, ".."));
await onChange(true);
console.log("Watching...");