Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ Server/.idea/workspace.xml
Discord-Bot/.idea/workspace.xml

Client/.idea/workspace.xml
LeagueUI/
2 changes: 2 additions & 0 deletions Client/Install installer Dependency.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ npm install electron --save-dev

npm install electron-builder --save-dev

npm install electron-packager --save-dev

npm install electron-squirrel-startup --save-dev

PAUSE
7 changes: 5 additions & 2 deletions Client/Javascript/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Login(appLogic) {
CreateElement({type: 'div', text: 'Nickname', class: 'Login_Label'}),
this.nicknameInput = CreateElement({type: 'input', class: 'Login_NameInput input-text'}),
CreateElement({type: 'div', text: 'Host', class: 'Login_Label'}),
this.hostInput = CreateElement({type: 'input', class: 'Login_HostInput input-text', text: '104.168.222.21'}),
this.hostInput = CreateElement({type: 'input', class: 'Login_HostInput input-text', text: '24.27.15.238'}),
CreateElement({type: 'div', text: 'Port', class: 'Login_Label'}),
this.portInput = CreateElement({type: 'input', class: 'Login_PortInput input-text', text: '7777'}),
this.loginButton = CreateElement({type: 'button', text: 'Login', class: 'Login_Button waves-effect waves-light btn-large'
Expand All @@ -19,7 +19,7 @@ function Login(appLogic) {
var isWindows = process.platform === 'win32';
var isMac = process.platform === 'darwin';
if (isWindows) {
this.leaguePathInput.placeholder = 'C:\/League-of-Legends-4-20\/';
this.leaguePathInput.placeholder = 'C:\/LeagueSandbox\/League_Sandbox_Client';
}
if (isMac) {
this.leaguePathInput.placeholder = '\/League of Legends.app';
Expand All @@ -37,6 +37,9 @@ function Login(appLogic) {
if (localStorage.getItem("name") != undefined && localStorage.getItem("name") != "") {
this.nicknameInput.value = localStorage.getItem("name");
}
if (this.leaguePathInput.value === '') {
this.leaguePathInput.value = 'C:\/LeagueSandbox\/League_Sandbox_Client';
}
}
Login.prototype.loginButtonClicked = function() {

Expand Down
Loading