aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_system.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
commit8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch)
tree7096b67b189c0220826123c7d5b121752545d140 /views/script/menu_system.js
downloadkartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip
Presque sortie du jeu
Diffstat (limited to 'views/script/menu_system.js')
-rw-r--r--views/script/menu_system.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/views/script/menu_system.js b/views/script/menu_system.js
new file mode 100644
index 0000000..947699f
--- /dev/null
+++ b/views/script/menu_system.js
@@ -0,0 +1,33 @@
+
+switch (require('os').platform()) {
+ case "win32":
+ document.write("Windows");
+ break
+ case "aix":
+ document.write("AIX");
+ break
+ case "android":
+ document.write("Android");
+ break
+ case "cygwin":
+ document.write("Cygwin");
+ break
+ case "darwin":
+ document.write("macOS");
+ break
+ case "freebsd":
+ document.write("FreeBSD");
+ break
+ case "linux":
+ document.write("GNU/Linux");
+ break
+ case "netbsd":
+ document.write("NetBSD");
+ break
+ case "openbsd":
+ document.write("OpenBSD");
+ break
+ case "sunos":
+ document.write("Solaris");
+ break
+}