fix title and close tab if in browser mode

This commit is contained in:
SpikeHD 2022-04-24 22:40:03 -07:00
parent b724b19f94
commit 98acd412ce
3 changed files with 3 additions and 2 deletions

View File

@ -87,4 +87,6 @@ async function proxyIsInstalled() {
function closeWin() { function closeWin() {
console.log('close') console.log('close')
Neutralino.app.exit() Neutralino.app.exit()
window.close()
} }

View File

@ -20,7 +20,7 @@ async function doTranslation() {
const set = (id, localeString) => document.getElementById(id).innerHTML = localeObj[localeString] || engLocaleObj[localeString] const set = (id, localeString) => document.getElementById(id).innerHTML = localeObj[localeString] || engLocaleObj[localeString]
// Begin filling in values // Begin filling in values
set('titleSection', localeObj.appName) set('titleSection', 'appName')
const verSpan = document.createElement('span') const verSpan = document.createElement('span')
verSpan.id = 'version' verSpan.id = 'version'

View File

@ -45,7 +45,6 @@ echo Adding ceritifcate...
echo Certificate install failed, ensure the script is running as Administrator and that the path "%USERPROFILE%\.mitmproxy" exists, echo Certificate install failed, ensure the script is running as Administrator and that the path "%USERPROFILE%\.mitmproxy" exists,
) )
echo Done! You can now open GrassClipper.exe! echo Done! You can now open GrassClipper.exe!
pause pause