mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-09 20:12:14 +10:00
* feat: small refactor * fix: appimage build script * fix: add NO_STRIP to AppImage build * fix: build and dev mode from refactor * fix: submodule step 1 * fix: submodules step 2
32 lines
1.1 KiB
Vue
32 lines
1.1 KiB
Vue
<template>
|
|
<div>
|
|
<label for="launch" class="block text-sm/6 font-medium text-zinc-100"
|
|
>Launch string template</label
|
|
>
|
|
<div class="mt-2">
|
|
<input
|
|
type="text"
|
|
name="launch"
|
|
id="launch"
|
|
class="block w-full rounded-md bg-zinc-800 px-3 py-1.5 text-base text-zinc-100 outline-1 -outline-offset-1 outline-zinc-800 placeholder:text-zinc-400 focus:outline-2 focus:-outline-offset-2 focus:outline-blue-600 sm:text-sm/6"
|
|
placeholder="{}"
|
|
aria-describedby="launch-description"
|
|
v-model="model!!.launchString"
|
|
/>
|
|
</div>
|
|
<p class="mt-2 text-sm text-zinc-400" id="launch-description">
|
|
Override the launch string. Passed to system's default shell, and replaces
|
|
"{}" with the command to start the game.
|
|
<span class="font-semibold text-zinc-200"
|
|
>Leaving it blank will cause the game not to start.</span
|
|
>
|
|
</p>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { FrontendGameConfiguration } from "~/composables/game";
|
|
|
|
const model = defineModel<FrontendGameConfiguration>();
|
|
</script>
|