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/intro_message.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 views/script/intro_message.js (limited to 'views/script/intro_message.js') diff --git a/views/script/intro_message.js b/views/script/intro_message.js new file mode 100644 index 0000000..6ab8d95 --- /dev/null +++ b/views/script/intro_message.js @@ -0,0 +1,7 @@ +setInterval(() => { + if (require('@electron/remote').getCurrentWindow().controllerAttached) { + document.getElementById('progress').innerText = lang.intro[1]; + } else { + document.getElementById('progress').innerText = lang.intro[0]; + } +}, 100) \ No newline at end of file -- cgit