mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
fix title and close tab if in browser mode
This commit is contained in:
parent
b724b19f94
commit
98acd412ce
@ -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()
|
||||||
}
|
}
|
||||||
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user