File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -41,4 +41,4 @@ export const appVersion = app.getVersion() + (isStaging ? "-staging" : "");
4141
4242export const ASSETS_PATH = path . join ( SystemPath . getPath ( "userData" ) , "Assets" ) ;
4343
44- export const MAIN_LOOP_INTERVAL = 1500 ;
44+ export const MAIN_LOOP_INTERVAL = 2000 ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { CloudSync } from "./cloud-sync";
99import { logger } from "./logger" ;
1010import path from "path" ;
1111import { AchievementWatcherManager } from "./achievements/achievement-watcher-manager" ;
12+ import { MAIN_LOOP_INTERVAL } from "@main/constants" ;
1213
1314export 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
2930let currentTick = 1 ;
3031
3132const platform = process . platform ;
You can’t perform that action at this time.
0 commit comments