fix: null strings in setup versions

This commit is contained in:
DecDuck
2025-02-12 12:05:47 +11:00
parent aad5c23f45
commit 856babbc21
2 changed files with 22 additions and 2 deletions

View File

@ -46,9 +46,9 @@ model GameVersion {
platform Platform
launchCommand String? // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
launchCommand String @default("") // 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)
setupCommand String @default("") // Command to setup game (dependencies and such)
setupArgs String[]
onlySetup Boolean @default(false)