mirror of
https://github.com/Gabi-Zar/Silk-Fly-Launcher.git
synced 2026-04-17 05:26:04 +02:00
106 lines
5.2 KiB
HTML
106 lines
5.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Welcome to Silk Fly Launcher</title>
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline';" />
|
|
<link rel="stylesheet" href="welcome.css" />
|
|
<link rel="stylesheet" href="style.css" />
|
|
</head>
|
|
<body>
|
|
<div class="app">
|
|
<video autoplay muted loop class="background-video" id="background-video" src="assets/background/Silksong.mp4" type="video/mp4"></video>
|
|
|
|
<div class="welcome-div" id="main-div">
|
|
<br />
|
|
<div id="page"></div>
|
|
<div class="button-div" id="button-div"></div>
|
|
</div>
|
|
<div class="toast-div" id="toast-div"></div>
|
|
</div>
|
|
|
|
<template id="welcome-template">
|
|
<h1 class="title">Welcome to Silk Fly Launcher</h1>
|
|
<div class="horizontal-div welcome-div">
|
|
<p>Silk Fly Launcher is a launcher and mod manager for Silksong mods from Nexus and Thunderstore, built with Electron.</p>
|
|
<p>Made with ♥ by <a href="" class="link" onclick="electronAPI.openExternalLink('https://github.com/Gabi-Zar')">GabiZar</a>.</p>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="one-button-template">
|
|
<button class="default-button bigger-button" onclick="initialImportData()">Import Data</button>
|
|
<button class="default-button bigger-button" onclick="next()">Next →</button>
|
|
</template>
|
|
|
|
<template id="two-button-template">
|
|
<button class="default-button bigger-button" onclick="back()">← Back</button>
|
|
<button class="default-button bigger-button" onclick="next()">Next →</button>
|
|
</template>
|
|
|
|
<template id="path-template">
|
|
<h1 class="title">Enter Hollow Knight: Silksong path</h1>
|
|
<p>Please verify the path to your game and edit it if the auto detection didn't work</p>
|
|
<div class="horizontal-div">
|
|
<label>Enter Silksong path: </label>
|
|
<input type="text" class="input" id="silksong-path-input" name="silksong-path-input" />
|
|
<button class="default-button" onclick="autoDetectGamePath()">Auto Detect</button>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="style-template">
|
|
<h1 class="title">Chose the theme of the app</h1>
|
|
<div class="horizontal-div welcome-div">
|
|
<label>Themes: </label>
|
|
<div class="list-div">
|
|
<div class="default-button longer-button" id="themes-button" onclick="toggleThemesMenu()">Silksong</div>
|
|
<div class="list-menu longer-button" id="themes-menu">
|
|
<li id="Silksong" onclick="changeTheme('Silksong')">Silksong</li>
|
|
<li id="Citadel of song" onclick="changeTheme('Citadel of song')">Citadel of song</li>
|
|
<li id="Cradle" onclick="changeTheme('Cradle')">Cradle</li>
|
|
<li id="Abyss" onclick="changeTheme('Abyss')">Abyss</li>
|
|
<li id="Greyroot" onclick="changeTheme('Greyroot')">Greyroot</li>
|
|
<li id="Surface" onclick="changeTheme('Surface')">Surface</li>
|
|
<li id="Steel" onclick="changeTheme('Steel')">Steel</li>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="nexus-template">
|
|
<h1 class="title">Additional set up for nexus mods</h1>
|
|
<h2>If you don't want to use nexus mods just click on next.</h2>
|
|
<br />
|
|
<br />
|
|
<p>
|
|
1. Please enter your nexus API key. To get your API key go to
|
|
<a href="https://www.nexusmods.com/settings/api-keys" class="link" id="external-link">https://www.nexusmods.com/settings/api-keys</a> and click on "new personnal API key".
|
|
</p>
|
|
<br />
|
|
<div class="horizontal-div">
|
|
<img class="nexus-check-image" id="nexus-check-image" src="assets/icons/cross.svg" />
|
|
<form class="horizontal-div input-form" id="nexus-api-form">
|
|
<input class="input" id="nexus-api-input" type="text" placeholder="Enter your nexus api" />
|
|
<button class="default-button" onclick="setNexusAPI()">Set</button>
|
|
</form>
|
|
<button class="default-button" onclick="resetNexusAPI()">Reset</button>
|
|
</div>
|
|
<br />
|
|
<br />
|
|
<p>2. To download a mod from Nexus Mods you need to log in to your Nexus Mods account and then click on "Download with Mod Manager".</p>
|
|
</template>
|
|
|
|
<template id="settings-linux-template">
|
|
<h1 class="title">Linux Additional Settings</h1>
|
|
<div class="horizontal-div welcome-div">
|
|
<h3>Do you use Steam ?</h3>
|
|
<label class="checkbox-container">
|
|
<input type="checkbox" name="linux-steam" id="linux-steam" />
|
|
<span class="checkmark"></span>
|
|
</label>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="renderer.js"></script>
|
|
</body>
|
|
</html>
|