mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
refactor: moved the game status to a global file (accessible to the render part) and used it in game entity
This commit is contained in:
parent
c6e4ba4789
commit
6fa4c178a7
13 changed files with 26 additions and 20 deletions
|
|
@ -34,15 +34,6 @@ export const months = [
|
|||
"Dec",
|
||||
];
|
||||
|
||||
export enum GameStatus {
|
||||
Seeding = "seeding",
|
||||
Downloading = "downloading",
|
||||
Paused = "paused",
|
||||
CheckingFiles = "checking_files",
|
||||
DownloadingMetadata = "downloading_metadata",
|
||||
Cancelled = "cancelled",
|
||||
}
|
||||
|
||||
export const defaultDownloadsPath = path.join(os.homedir(), "downloads");
|
||||
|
||||
export const databasePath = path.join(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue