Skip to content

Commit b7199f4

Browse files
committed
chore: bump version
1 parent 2b8cc50 commit b7199f4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hydralauncher",
3-
"version": "3.6.3",
3+
"version": "3.6.4",
44
"description": "Hydra",
55
"main": "./out/main/index.js",
66
"author": "Los Broxas",

src/main/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ export const appVersion = app.getVersion() + (isStaging ? "-staging" : "");
4141

4242
export const ASSETS_PATH = path.join(SystemPath.getPath("userData"), "Assets");
4343

44-
export const MAIN_LOOP_INTERVAL = 1500;
44+
export const MAIN_LOOP_INTERVAL = 2000;

src/main/services/process-watcher.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { CloudSync } from "./cloud-sync";
99
import { logger } from "./logger";
1010
import path from "path";
1111
import { AchievementWatcherManager } from "./achievements/achievement-watcher-manager";
12+
import { MAIN_LOOP_INTERVAL } from "@main/constants";
1213

1314
export const gamesPlaytime = new Map<
1415
string,
@@ -25,7 +26,7 @@ interface GameExecutables {
2526
[key: string]: ExecutableInfo[];
2627
}
2728

28-
const TICKS_TO_UPDATE_API = 120;
29+
const TICKS_TO_UPDATE_API = (3 * 60 * 1000) / MAIN_LOOP_INTERVAL; // 3 minutes
2930
let currentTick = 1;
3031

3132
const platform = process.platform;

0 commit comments

Comments
 (0)