This commit is contained in:
Rizky
2024-07-29 18:45:11 +07:00
parent 6df0d20576
commit 5f97ccb5c4
3 changed files with 27 additions and 9 deletions
+8
View File
@@ -163,6 +163,14 @@ export const _ = {
await deploy.init();
const deploys = fs.readdirSync(dir(`/app/web/deploy`));
if (g.main.process) {
setTimeout(() => {
if (g.main.process) {
g.main.process.kill();
}
}, 500);
}
return {
now: Date.now(),
current: parseInt(deploy.config.deploy.ts),