Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b9a154dde8 | |||
| 93a58c0d04 |
+1
-1
Submodule drop-base updated: 01fd41c65a...de0d1b4660
@@ -104,7 +104,7 @@
|
||||
:placeholder="'setup.exe'"
|
||||
/>
|
||||
<ComboboxButton
|
||||
v-if="launchFilteredVersionGuesses?.length ?? 0 > 0"
|
||||
v-if="setupFilteredVersionGuesses?.length ?? 0 > 0"
|
||||
class="absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"
|
||||
>
|
||||
<ChevronUpDownIcon
|
||||
@@ -156,8 +156,8 @@
|
||||
</li>
|
||||
</ComboboxOption>
|
||||
<ComboboxOption
|
||||
:value="launchProcessQuery"
|
||||
v-if="launchProcessQuery"
|
||||
:value="setupProcessQuery"
|
||||
v-if="setupProcessQuery"
|
||||
v-slot="{ active, selected }"
|
||||
>
|
||||
<li
|
||||
@@ -171,7 +171,7 @@
|
||||
<span
|
||||
:class="['block truncate', selected && 'font-semibold']"
|
||||
>
|
||||
"{{ launchProcessQuery }}"
|
||||
"{{ setupProcessQuery }}"
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Made the column `launchCommand` on table `GameVersion` required. This step will fail if there are existing NULL values in that column.
|
||||
- Made the column `setupCommand` on table `GameVersion` required. This step will fail if there are existing NULL values in that column.
|
||||
|
||||
*/
|
||||
UPDATE "GameVersion"
|
||||
SET "launchCommand" = ''
|
||||
WHERE "launchCommand" is NULL;
|
||||
|
||||
UPDATE "GameVersion"
|
||||
SET "setupCommand" = ''
|
||||
WHERE "launchCommand" is NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "GameVersion" ALTER COLUMN "launchCommand" SET NOT NULL,
|
||||
ALTER COLUMN "launchCommand" SET DEFAULT '',
|
||||
ALTER COLUMN "setupCommand" SET NOT NULL,
|
||||
ALTER COLUMN "setupCommand" SET DEFAULT '';
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user