diff --git a/.tmp/auth_info.json b/.tmp/auth_info.json index 545e6a1..00ed18e 100644 --- a/.tmp/auth_info.json +++ b/.tmp/auth_info.json @@ -1 +1 @@ -{"accessToken":"koqlczs0mi0QuA4uZtkaZmPT9H3xQO-MaifZIUVW_kkp8HBD","port":62332} \ No newline at end of file +{"accessToken":"5MwsrKLchb8OnvKTd7b00-wJDz6E-6MQbmre-TC7jiEs6mJs","port":57800} \ No newline at end of file diff --git a/resources/index.html b/resources/index.html index 834e863..f28308c 100644 --- a/resources/index.html +++ b/resources/index.html @@ -12,6 +12,7 @@
+
diff --git a/resources/js/index.js b/resources/js/index.js index c30ba50..30a8502 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -75,10 +75,12 @@ async function launchOfficial() { } async function launchPrivate() { - const ip = 'localhost' + const ip = document.getElementById('ip').value || 'localhost' const port = '' const config = await getCfg() + + console.log('connecting to ' + ip) // Pass IP and game folder to the private server launcher Neutralino.os.execCommand(`${NL_CWD}/private_server_launch.cmd ${ip} "${config.genshinImpactFolder}"`).catch(e => console.log(e)) diff --git a/resources/style/index.css b/resources/style/index.css index 97d88fd..da7c2fc 100644 --- a/resources/style/index.css +++ b/resources/style/index.css @@ -5,6 +5,10 @@ body { font-family: Arial, Helvetica, sans-serif; } +input[type="text"] { + height: 20px; +} + .playBtn:hover, .smolBtn:hover { cursor: pointer; }