mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-04 16:07:19 +03:00
f7cb1e7d24
- added some buttons to settings menu + winetricks + winecfg + launcher folder + game folder - made `Button` component - fixed textarea and input background in dark theme in tables From previous commits: - made outdated files deletion - reworked runners selection list - removed `purge_dxvk_logs` config - added `purge_logs.game` and `purge_logs.launcher` configs - now launcher can delete its own old log files - made DXVK logs deletion option works - `Patch/Stream`'s `patchFinish()` callback now have `result: boolean` argument which indicates whether the patch was successfully applied - `Patch/Stream` now also logs patch script output - if the patch wasn't successfully applied - then `ApplyPatch` script will show user a notification about it - also was fixed notification icon in telemetry checking - fixed typo in notahuman's shaders
9 lines
208 B
Svelte
9 lines
208 B
Svelte
<script lang="ts">
|
|
import { _ } from 'svelte-i18n';
|
|
|
|
export let lang: string = '';
|
|
|
|
export let click: () => void = () => {};
|
|
</script>
|
|
|
|
<button class="button" on:click={click}>{$_(lang)}</button>
|