Minor changes

- repainted settings button icon with the other buttons style
- changed default launcher title for  conspiracy
- added roadmap goal
This commit is contained in:
Observer KRypt0n_ 2021-11-04 17:07:01 +02:00
parent 6d40c6d455
commit 6e1945f121
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
6 changed files with 26 additions and 6 deletions

View file

@ -83,6 +83,7 @@ npm start
* <s>Add installed packages deletion</s> *(1.2.0)*
* <s>Add voice packs support</s> (Thank @Maroxy for the developments in the previous versions) *(1.3.0)*
* Screenshots explorer
* Color variants for progress bar's downloading text dependent on the background picture primary color
* Set default wine version to download so the wine install requirement is no longer needed.
* Add Patch category in settings menu with
- Always participate in patches testing

View file

@ -13,7 +13,7 @@
<!-- JS scripts -->
<script>require('../js/index.js');</script>
<title>Genshin Impact Linux Launcher</title>
<title>An Anime Game Linux Launcher</title>
</head>
<body>
@ -32,7 +32,8 @@
<div id="launchcontent"></div>
<div id="settings">
<img src="../images/gear.png">
<img src="../images/gear.png" class="unactive">
<img src="../images/gear-active.png" class="active">
</div>
<button class="button" id="launch" i18id="Launch">Launch</button>

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -57,10 +57,23 @@
cursor: pointer
> img
width: 32px
height: 32px
width: 40px
height: 40px
margin: 22px
margin: 18px
.active
display: none
.unactive
display: block
#settings.hovered
.active
display: block
.unactive
display: none
.progress-bar
padding: 0

View file

@ -39,8 +39,10 @@ if (typeof LauncherLib.getConfig('lang.voice') != 'object')
}
$(() => {
document.title = `${constants.placeholders.uppercase.full} Linux Launcher`;
if (LauncherLib.version !== null)
document.title = `${constants.placeholders.uppercase.full} Linux Launcher - ${LauncherLib.version}`;
document.title += ` - ${LauncherLib.version}`;
// On Start configuration of LauncherUI
LauncherUI.updateLang(LauncherLib.getConfig('lang.launcher') ?? 'en-us');
@ -81,6 +83,9 @@ $(() => {
if (LauncherLib.getConfig('analytics') !== null && LauncherLib.getConfig('analytics') !== LauncherLib.version)
ipcRenderer.invoke('open-analytics-participation');
$('#settings').on('mouseenter', () => $('#settings').addClass('hovered'));
$('#settings').on('mouseleave', () => $('#settings').removeClass('hovered'));
LauncherLib.getData().then(async data => {
await LauncherUI.updateLauncherState(data);