internalize vite-plugin-singlefile, fixing compilation on windows

This commit is contained in:
CoolElectronics 2023-08-21 19:09:15 -04:00
parent 9b03d3e086
commit fa1d6bb260
No known key found for this signature in database
GPG key ID: F63593D168636C50
4 changed files with 160 additions and 8 deletions

View file

@ -238,12 +238,14 @@
<Button type="filled" on:click={() => (showTrackerList = true)}
>Start Browsing</Button
>
<Button
type="text"
on:click={() => {
downloadShortcut("adrift.html", "Homework");
}}>Get Shortcut</Button
>
{#if !import.meta.env.VITE_ADRIFT_SINGLEFILE}
<Button
type="text"
on:click={() => {
downloadShortcut("adrift.html", "Homework");
}}>Get Shortcut</Button
>
{/if}
</div>
</Card>
</div>