mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-08-25 07:42:03 +10:00
Async downloader, better Proton support (#183)
* 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
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
<iframe :src="convertedStoreUrl" class="grow w-full h-full" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
ArrowTopRightOnSquareIcon,
|
||||
BuildingStorefrontIcon,
|
||||
} from "@heroicons/vue/20/solid";
|
||||
import { convertFileSrc, invoke } from "@tauri-apps/api/core";
|
||||
import { convertFileSrc } from "@tauri-apps/api/core";
|
||||
|
||||
const convertedStoreUrl = convertFileSrc("store", "server");
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user