09c1114e71
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
14 lines
429 B
JavaScript
14 lines
429 B
JavaScript
--- ui/webui/resources/js/cr.js.orig 2022-05-19 14:06:27 UTC
|
|
+++ ui/webui/resources/js/cr.js
|
|
@@ -438,6 +438,11 @@ var cr = cr || function(global) {
|
|
return returnValue;
|
|
},
|
|
|
|
+ /** Whether this is on *BSD. */
|
|
+ get isBSD() {
|
|
+ return /BSD/.test(navigator.userAgent);
|
|
+ },
|
|
+
|
|
/** Whether this is on vanilla Linux (not chromeOS). */
|
|
get isLinux() {
|
|
return /Linux/.test(navigator.userAgent);
|