Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b9a154dde8 | |||
| 93a58c0d04 |
+1
-1
Submodule drop-base updated: 01fd41c65a...de0d1b4660
@@ -104,7 +104,7 @@
|
|||||||
:placeholder="'setup.exe'"
|
:placeholder="'setup.exe'"
|
||||||
/>
|
/>
|
||||||
<ComboboxButton
|
<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"
|
class="absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"
|
||||||
>
|
>
|
||||||
<ChevronUpDownIcon
|
<ChevronUpDownIcon
|
||||||
@@ -156,8 +156,8 @@
|
|||||||
</li>
|
</li>
|
||||||
</ComboboxOption>
|
</ComboboxOption>
|
||||||
<ComboboxOption
|
<ComboboxOption
|
||||||
:value="launchProcessQuery"
|
:value="setupProcessQuery"
|
||||||
v-if="launchProcessQuery"
|
v-if="setupProcessQuery"
|
||||||
v-slot="{ active, selected }"
|
v-slot="{ active, selected }"
|
||||||
>
|
>
|
||||||
<li
|
<li
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
<span
|
<span
|
||||||
:class="['block truncate', selected && 'font-semibold']"
|
:class="['block truncate', selected && 'font-semibold']"
|
||||||
>
|
>
|
||||||
"{{ launchProcessQuery }}"
|
"{{ setupProcessQuery }}"
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<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
|
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[]
|
launchArgs String[]
|
||||||
setupCommand String? // Command to setup game (dependencies and such)
|
setupCommand String @default("") // Command to setup game (dependencies and such)
|
||||||
setupArgs String[]
|
setupArgs String[]
|
||||||
onlySetup Boolean @default(false)
|
onlySetup Boolean @default(false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user