Libraryless. Click here for Pure Java version (1939L/14K/42K).
!747 !1000805 // awt !image classes m { !include #1001425 // ShowBigText static S os; static boolean wtf; p { readLocally("os"); new ShowBigText sbt; sbt.title = "OS Sensor"; if (os != null) sbt.showText(os + "!"); while (true) { S theOS = getOS(); if (os != null && !eq(os, theOS)) { for (int i = 0; i < 3; i++) { wtf = true; sbt.showText("WTF!"); sleepSeconds(1); sbt.showText(os + "!"); sleepSeconds(1); sbt.showText(theOS + "!"); sleepSeconds(1); } wtf = false; } if (!eq(os, theOS)) { os = theOS; saveLocally("os"); sbt.showText(os + "!"); } sleepSeconds(5); } } static S getOS() { if (isAndroid()) ret "Android"; if (isMac()) ret "Mac OS"; if (isWindows()) ret "Windows"; ret "Linux"; // Everything else is Linux... Yeah it's generous :) } }
Began life as a copy of #1001464
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment