ci: adding dockerfile

This commit is contained in:
Chubby Granny Chaser
2025-10-13 17:01:45 +01:00
parent a439095260
commit e5659543ce
57 changed files with 1407 additions and 1617 deletions

View File

@@ -12,7 +12,7 @@ import { db } from "@main/level";
import { levelKeys } from "@main/level/sublevels";
import type { Auth, User } from "@types";
interface HydraApiOptions {
export interface HydraApiOptions {
needsAuth?: boolean;
needsSubscription?: boolean;
ifModifiedSince?: Date;

View File

@@ -62,12 +62,16 @@ export class WindowManager {
`${process.env["ELECTRON_RENDERER_URL"]}#/${hash}`
);
} else {
this.mainWindow?.loadFile(
path.join(__dirname, "../renderer/index.html"),
{
hash,
}
);
this.mainWindow
?.loadURL(`https://staging.hydralauncher.gg/#/${hash}`)
.catch(() => {
this.mainWindow?.loadFile(
path.join(__dirname, "../renderer/index.html"),
{
hash,
}
);
});
}
}