mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 22:00:02 -04:00
internalize vite-plugin-singlefile, fixing compilation on windows
This commit is contained in:
parent
9b03d3e086
commit
fa1d6bb260
4 changed files with 160 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue