chore: sync with main

This commit is contained in:
Chubby Granny Chaser
2025-10-29 01:47:35 +00:00
parent dc6d578462
commit b1069426e4
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "hydralauncher",
"version": "3.7.1",
"version": "3.7.2",
"description": "Hydra",
"main": "./out/main/index.js",
"author": "Los Broxas",

View File

@@ -24,7 +24,7 @@ import type {
UserPreferences,
} from "@types";
import { AuthPage, generateAchievementCustomNotificationTest } from "@shared";
import { appVersion, isStaging } from "@main/constants";
import { isStaging } from "@main/constants";
import { logger } from "./logger";
export class WindowManager {
@@ -68,7 +68,7 @@ export class WindowManager {
// Try to load from remote URL in production
try {
await window.loadURL(
`https://release-v${this.formatVersionNumber(appVersion)}.${import.meta.env.MAIN_VITE_LAUNCHER_SUBDOMAIN}#/${hash}`
`https://release-v${this.formatVersionNumber(app.getVersion())}.${import.meta.env.MAIN_VITE_LAUNCHER_SUBDOMAIN}#/${hash}`
);
} catch (error) {
// Fall back to local file if remote URL fails