16ef83228b
* feat: async downloader + other fixes * feat: windows command parsing + use library path for install path * feat: better proton support * feat: style fixes and store button now uses in-app * feat: emulator rename + umu emulator fix * feat: bring process creation inline with docs * fix: clippy
17 lines
447 B
Vue
17 lines
447 B
Vue
<template>
|
|
<iframe :src="convertedStoreUrl" class="grow w-full h-full" />
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { convertFileSrc } from "@tauri-apps/api/core";
|
|
|
|
const route = useRoute();
|
|
|
|
const gameId = route.query.gameId?.toString();
|
|
|
|
// This is necessary because convertFileSrc encodes the URI
|
|
const convertedStoreUrl = convertFileSrc(`dummyvalue`, "server").replace(
|
|
"dummyvalue",
|
|
gameId ? `store/${gameId}` : "store",
|
|
);
|
|
</script>
|