feat: basic card setup

This commit is contained in:
2025-02-25 19:27:37 +00:00
parent 43fd622322
commit 1586f81152
12 changed files with 140 additions and 69 deletions

View File

@ -22,18 +22,18 @@ const cfgIntel = _cfg('intel', false);
const cfgRezW = _cfg('rez-w', 1080);
const cfgRezH = _cfg('rez-h', 1920);
const cfgDisplayMode = _cfg('display-mode', 'borderless');
const cfgAime = _cfg('aime', true);
const cfgAimeCode = _cfg('aime-code', '00001111222233334444');
const cfgAime = _cfg('aime', false);
const cfgAimeCode = _cfg('aime-code', '');
</script>
<template>
<Fieldset legend="Launch options" :toggleable="true">
<div class="flex w-full flex-col gap-1">
<label for="switch" class="flex flex-row w-full p-2">
<label for="switch1" class="flex flex-row w-full p-2">
<div class="grow">
OpenSSL crash workaround for Intel 10th gen
OpenSSL bug workaround for Intel 10th gen
</div>
<Toggle inputId="switch" v-model="cfgIntel" />
<Toggle inputId="switch1" v-model="cfgIntel" />
</label>
<label
id="resolution"
@ -88,17 +88,20 @@ const cfgAimeCode = _cfg('aime-code', '00001111222233334444');
<label for="ingredient3">fullscreen</label>
</div>
</label>
<label for="switch" class="flex flex-row w-full p-2">
<label for="switch2" class="flex flex-row w-full p-2">
<div class="grow">Aime emulation</div>
<Toggle inputId="switch" v-model="cfgAime" />
<Toggle inputId="switch2" v-model="cfgAime" />
</label>
<label class="flex flex-row w-full p-2 items-center">
<div class="grow">Aime code</div>
<InputText
class="shrink"
size="small"
:disabled="store.cfg('aime') === false"
:minlength="20"
:disabled="store.cfg('aime') !== true"
:invalid="
store.cfg('aime') === true &&
store.cfg('aime-code')?.toString().length !== 20
"
:maxlength="20"
placeholder="00000000000000000000"
v-model="cfgAimeCode"