From 8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 5 Jun 2021 19:27:48 +0200 Subject: Presque sortie du jeu --- views/script/win_quit.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 views/script/win_quit.js (limited to 'views/script/win_quit.js') 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 -- cgit