Skip to content

Instantly share code, notes, and snippets.

@rfht
Created March 18, 2022 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfht/e8de05cf1812695327e46d6d29d06031 to your computer and use it in GitHub Desktop.
Save rfht/e8de05cf1812695327e46d6d29d06031 to your computer and use it in GitHub Desktop.
Fix this, then run Crosscode on OpenBSD in Firefox or Chromium
--- assets/node-webkit.html.orig Sat Nov 28 20:42:00 2020
+++ assets/node-webkit.html Sat Nov 28 21:06:54 2020
@@ -51,12 +51,14 @@
<script type="text/javascript">
// make sure we don't let node-webkit show it's error page
// TODO for release mode, there should be an option to write to a file or something.
+ /*
window['process'].once('uncaughtException', function() {
var win = require('nw.gui').Window.get();
if(!(win.isDevToolsOpen && win.isDevToolsOpen())) {
win.showDevTools && win.showDevTools();
}
});
+ */
function doStartCrossCodePlz(){
if(window.startCrossCode){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment