removed unused file
This commit is contained in:
parent
00b02ce669
commit
e7cf2392b4
1 changed files with 0 additions and 77 deletions
|
@ -1,77 +0,0 @@
|
||||||
<script lang="ts">
|
|
||||||
/**
|
|
||||||
* Show what the user has to do during instalation
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { copy } from "svelte-copy"
|
|
||||||
import { open as shellOpen } from "@tauri-apps/api/shell"
|
|
||||||
|
|
||||||
import { InstallErr } from "./types"
|
|
||||||
|
|
||||||
export let lastErrStaus: InstallErr
|
|
||||||
|
|
||||||
export let setSteamLaunchOptionAndInstall: () => void
|
|
||||||
export let selectGamePathAndInstall: () => void
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="interrupts">
|
|
||||||
<!--
|
|
||||||
set game launch option
|
|
||||||
-->
|
|
||||||
|
|
||||||
{#if lastErrStaus == InstallErr.LaunchOptionNotSet}
|
|
||||||
<span
|
|
||||||
use:copy={"./run_bepinex.sh %command%"}
|
|
||||||
on:svelte-copy={(event) => alert(event.detail)}
|
|
||||||
>
|
|
||||||
click to copy
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<button on:click={setSteamLaunchOptionAndInstall}>Resume</button>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<!--
|
|
||||||
if the game was not found in the default install location
|
|
||||||
-->
|
|
||||||
|
|
||||||
{#if lastErrStaus == InstallErr.FailedToGetGamePath}
|
|
||||||
<p>
|
|
||||||
Default game install location was not found :(
|
|
||||||
<br />
|
|
||||||
Press the button select the folder
|
|
||||||
<!-- svelte-ignore a11y-invalid-attribute -->
|
|
||||||
<a
|
|
||||||
class="link"
|
|
||||||
alt="how to find game install location"
|
|
||||||
href="javascript:;"
|
|
||||||
on:click={() => {
|
|
||||||
shellOpen(
|
|
||||||
"https://github.com/War-Brokers-Mods/WBM/blob/master/images/local_files.png"
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
where the game is installed
|
|
||||||
</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<button on:click={selectGamePathAndInstall}>
|
|
||||||
Select folder and Install
|
|
||||||
</button>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
@import "./styles/button.scss";
|
|
||||||
|
|
||||||
.interrupts {
|
|
||||||
@apply mt-2;
|
|
||||||
|
|
||||||
p {
|
|
||||||
@apply text-center;
|
|
||||||
}
|
|
||||||
|
|
||||||
span {
|
|
||||||
@apply select-all rounded pl-1 pr-1 border-2 border-neutral-600 font-bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
Loading…
Add table
Add a link
Reference in a new issue