mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 15:52:39 +10:00
feat(import): overhauled version importing
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "GameVersion" ADD COLUMN "launchArgs" TEXT[],
|
||||
ADD COLUMN "onlySetup" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "setupArgs" TEXT[],
|
||||
ALTER COLUMN "launchCommand" DROP NOT NULL,
|
||||
ALTER COLUMN "setupCommand" DROP NOT NULL;
|
||||
@ -42,10 +42,16 @@ model GameVersion {
|
||||
|
||||
created DateTime @default(now())
|
||||
|
||||
platform Platform
|
||||
launchCommand String // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
|
||||
setupCommand String // Command to setup game (dependencies and such)
|
||||
umuIdOverride String?
|
||||
platform Platform
|
||||
|
||||
launchCommand String? // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
|
||||
launchArgs String[]
|
||||
setupCommand String? // Command to setup game (dependencies and such)
|
||||
setupArgs String[]
|
||||
onlySetup Boolean @default(false)
|
||||
|
||||
umuIdOverride String?
|
||||
|
||||
dropletManifest Json // Results from droplet
|
||||
|
||||
versionIndex Int
|
||||
|
||||
Reference in New Issue
Block a user