diff options
Diffstat (limited to 'views/script/win_quit.js')
-rw-r--r-- | views/script/win_quit.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/script/win_quit.js b/views/script/win_quit.js new file mode 100644 index 0000000..c8d1af1 --- /dev/null +++ b/views/script/win_quit.js @@ -0,0 +1,7 @@ +setInterval(() => { + if (require('@electron/remote').getCurrentWindow().controllerAttached) { + document.getElementById('progress').innerText = lang.win.quit[1]; + } else { + document.getElementById('progress').innerText = lang.win.quit[0]; + } +}, 100)
\ No newline at end of file |