mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 13:34:54 +03:00
chore: merge with main
This commit is contained in:
parent
eb11eb2bd0
commit
0f0a67b55e
@ -1,8 +1,7 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { shell } from "electron";
|
||||
import { parseExecutablePath } from "../helpers/parse-executable-path";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { gamesSublevel } from "@main/level";
|
||||
import { gamesSublevel, levelKeys } from "@main/level";
|
||||
import { GameShop } from "@types";
|
||||
|
||||
const openGame = async (
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { HydraApi } from "@main/services";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { gamesSublevel } from "@main/level";
|
||||
import { gamesSublevel, levelKeys } from "@main/level";
|
||||
import type { GameShop } from "@types";
|
||||
|
||||
const removeGameFromLibrary = async (
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadsSublevel } from "@main/level";
|
||||
import { levelKeys, downloadsSublevel } from "@main/level";
|
||||
import { GameShop } from "@types";
|
||||
import { levelKeys } from "@main/level";
|
||||
|
||||
const removeGame = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { gamesSublevel } from "@main/level";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { levelKeys, gamesSublevel } from "@main/level";
|
||||
import type { GameShop } from "@types";
|
||||
|
||||
const selectGameWinePrefix = async (
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { gamesSublevel } from "@main/level";
|
||||
import { gamesSublevel, levelKeys } from "@main/level";
|
||||
import { GameShop } from "@types";
|
||||
|
||||
const updateLaunchOptions = async (
|
||||
|
@ -1,8 +1,7 @@
|
||||
import { Notification } from "electron";
|
||||
import { registerEvent } from "../register-event";
|
||||
import { t } from "i18next";
|
||||
import { db } from "@main/level";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { db, levelKeys } from "@main/level";
|
||||
import type { UserPreferences } from "@types";
|
||||
|
||||
const publishNewRepacksNotification = async (
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { downloadsSublevel } from "@main/level";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { downloadsSublevel, levelKeys } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
import { DownloadManager } from "@main/services";
|
||||
import type { GameShop } from "@types";
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { downloadsSublevel } from "@main/level";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { downloadsSublevel, levelKeys } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
import { DownloadManager } from "@main/services";
|
||||
import type { GameShop } from "@types";
|
||||
|
@ -2,8 +2,7 @@ import type { ComparedAchievements, GameShop, UserPreferences } from "@types";
|
||||
import { registerEvent } from "../register-event";
|
||||
|
||||
import { HydraApi } from "@main/services";
|
||||
import { db } from "@main/level";
|
||||
import { levelKeys } from "@main/level";
|
||||
import { db, levelKeys } from "@main/level";
|
||||
|
||||
const getComparedUnlockedAchievements = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
|
@ -6,9 +6,13 @@ import { Aria2 } from "./services/aria2";
|
||||
import { downloadsSublevel } from "./level/sublevels/downloads";
|
||||
import { sortBy } from "lodash-es";
|
||||
import { Downloader } from "@shared";
|
||||
import { gameAchievementsSublevel, gamesSublevel, levelKeys } from "./level";
|
||||
import {
|
||||
gameAchievementsSublevel,
|
||||
gamesSublevel,
|
||||
levelKeys,
|
||||
db,
|
||||
} from "./level";
|
||||
import { Auth, User, type UserPreferences } from "@types";
|
||||
import { db } from "./level";
|
||||
import { knexClient } from "./knex-client";
|
||||
|
||||
const loadState = async (userPreferences: UserPreferences | null) => {
|
||||
|
Loading…
Reference in New Issue
Block a user