82b9912bd0
* refactor: split umu launcher * feat: latest version picker + fixes * feat: frontend latest changes * feat: game update detection w/ setting * feat: fixes and refactor for game update * fix: windows ui * fix: deps * feat: update modifications * feat: missing ui and lock update * fix: create install dir on init * fix: clippy * fix: clippy x2 * feat: add configuration option to toggle updates * feat: uninstall dropdown on partiallyinstalled
25 lines
572 B
Vue
25 lines
572 B
Vue
<template>
|
|
<NuxtLink
|
|
v-if="onLinux"
|
|
to="/settings/compat"
|
|
>
|
|
<HeaderWidget :problem="protonError">
|
|
<img
|
|
src="/proton-logo.png"
|
|
class="relative z-50 size-5 brightness-[30%]"
|
|
/>
|
|
</HeaderWidget>
|
|
</NuxtLink>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const appState = useAppState();
|
|
const onLinux = appState.value?.umuState !== "NotNeeded";
|
|
const paths = onLinux ? await useProtonPaths() : undefined;
|
|
|
|
const protonError = computed(
|
|
() =>
|
|
appState.value?.umuState === "NotInstalled" || !paths?.data.value.default,
|
|
);
|
|
</script>
|