1
0
Fork 0

added post-install instructions

This commit is contained in:
Kim, Jimin 2022-02-03 09:02:35 +09:00
parent 456b62530e
commit 62ccbdcdab
2 changed files with 16 additions and 0 deletions

View file

@ -9,6 +9,7 @@
import { selectGamePathAndRun } from "./logic"
import { listen } from "@tauri-apps/api/event"
import { open as shellOpen } from "@tauri-apps/api/shell"
import { writeText } from "@tauri-apps/api/clipboard"
import { getNotificationsContext } from "svelte-notifications"
@ -37,6 +38,17 @@
Install Success!
<br />
You may now close the installer.
<br />
<br />
<!-- svelte-ignore a11y-invalid-attribute -->
<a
href="javascript:;"
on:click={() => {
shellOpen("https://github.com/War-Brokers-Mods/WBM#usage")
}}
>
Learn how to use the mod
</a>
{:else if lastInstallErr == InstallErr.UnsupportedOS}
Operating System not supported.
<br />
@ -108,6 +120,7 @@
</div>
<style lang="scss">
@import "./styles/anchor.scss";
@import "./styles/button.scss";
.install {

View file

@ -0,0 +1,3 @@
a {
@apply text-blue-500;
}