Disable download button when downloading

This commit is contained in:
Lncvrt committed 2025-07-19 16:15:49 -07:00
1 parent 1349f779a0
commit 2604dec0f4
7 files changed
+20 -19

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
import { LauncherVersion } from "./LauncherVersion";
import { LauncherVersion } from './LauncherVersion'
export class DownloadProgress {
constructor(
constructor (
public version: LauncherVersion,
public progress: number,
public done: boolean
) {}
}
}
+4 -2
View File
@@ -1,5 +1,7 @@
import { LauncherVersion } from "./LauncherVersion"
import { DownloadProgress } from './DownloadProgress'
import { LauncherVersion } from './LauncherVersion'
export type InstallsProps = {
downloadVersions: (versions: LauncherVersion[]) => void
}
downloadProgress: DownloadProgress[]
}
+5 -5
View File
@@ -1,6 +1,6 @@
export interface LauncherVersion {
version: string,
displayName: string,
platforms: string[],
downloadUrls: string[]
}
version: string
displayName: string
platforms: string[]
downloadUrls: string[]
}
+2 -2
View File
@@ -1,5 +1,5 @@
import { DownloadProgress } from "./DownloadProgress"
import { DownloadProgress } from './DownloadProgress'
export type SidebarProps = {
downloadProgress: DownloadProgress[]
}
}