Sha256: 82ed9a7a81bc5edc015f93e034d5b3fc1eeb9522ef99dd57c995db8011237aac
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
// Generated by CoffeeScript 1.9.0 (function() { var BrowserWindow, app, path, shell; app = require('app'); BrowserWindow = require('browser-window'); path = require('path'); shell = require('electron').shell; app.on('ready', function() { var main_window, preload; preload = path.resolve(path.join(__dirname, 'preload.js')); main_window = new BrowserWindow({ width: parseInt(process.argv[3]) || 800, height: parseInt(process.argv[4]) || 600, "node-integration": false, "web-security": false, icon: "icon.png", preload: preload }); main_window.loadURL(process.argv[2]); main_window.setMenu(null); return main_window.webContents.on('new-window', function(event, url) { event.preventDefault(); return shell.openExternal(url); }); }); }).call(this);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flammarion-0.1.9 | electron/main.js |
flammarion-0.1.8 | electron/main.js |