1
0
mirror of https://github.com/mgerb/ps-launcher synced 2026-01-10 18:42:48 +00:00
This commit is contained in:
2017-10-26 21:27:14 -05:00
parent bfce7938e9
commit 5db4b138e0
21 changed files with 1853 additions and 51 deletions

1419
app/assets/app-icon.ai Normal file

File diff suppressed because one or more lines are too long

BIN
app/assets/app-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -48,6 +48,16 @@
}
.header__version {
color: $blue--lighter;
font-size: 12px;
span {
font-size: 12px;
position: relative;
bottom: 3px;
color: $blue--lighter;
}
img {
position: relative;
top: 3px;
margin-right: 3px;
}
}

View File

@@ -1,7 +1,8 @@
import { remote } from 'electron';
import { remote, shell } from 'electron';
import React from 'react';
import { observer, inject } from 'mobx-react';
import { AppState } from '../../state/AppState';
import headerIcon from '../../assets/icons/png/24x24.png';
import './Header.scss';
interface Props {
@@ -32,11 +33,20 @@ export class Header extends React.Component<Props, any> {
remote.getCurrentWindow().minimize();
}
private openGithub(): void {
shell.openExternal('https://github.com/mgerb/ps-launcher/releases');
}
public render(): any {
return (
<div className="header">
<div className="header__version"><span style={{ fontSize: '10px' }}>v{VERSION}</span></div>
<div className="header__version">
{/* <i className="fa fa-2x fa-github"/> */}
<img src={headerIcon}/>
<span style={{ fontSize: '10px' }}>v{VERSION}</span>
</div>
<div className="header__draggable-region"></div>
<i className="fa fa-lg fa-github header-icon" onClick={this.openGithub.bind(this)}/>
<div className="header-icon header-icon--minimize" onClick={this.minimize.bind(this)}/>
<div className="header-icon header-icon--maximize" onClick={this.maximize.bind(this)}/>
<div className="header-icon header-icon--close" onClick={() => this.exit()}>×</div>

View File

@@ -59,6 +59,7 @@
cursor: pointer;
color: $white;
font-size: 30px;
transition: all 0.2s linear;
&:disabled {
opacity: 0.5;

View File

@@ -17,7 +17,7 @@ export const persistentStateSeed = (): any => {
{
name: 'Kronos',
realmlist: 'login.kronos-wow.com',
website: 'https://www.kronos-wow.com?lang=en',
website: 'http://www.kronos-wow.com',
},
{
name: `Light's Hope`,