feat: basic card setup
This commit is contained in:
@ -13,7 +13,12 @@ const pkgs = usePkgStore();
|
||||
const group = () => {
|
||||
const a = Object.assign(
|
||||
{},
|
||||
Object.groupBy(pkgs.allLocal, ({ namespace }) => namespace)
|
||||
Object.groupBy(
|
||||
pkgs.allLocal
|
||||
.sort((p1, p2) => p1.namespace.localeCompare(p2.namespace))
|
||||
.sort((p1, p2) => p1.name.localeCompare(p2.name)),
|
||||
({ namespace }) => namespace
|
||||
)
|
||||
);
|
||||
return a;
|
||||
};
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user