Permalink
Browse files

Debug a segfault on electron 0.33.7

  • Loading branch information...
1 parent 6c4016b commit 0be0574e8c54961053b4154b5c5dd11562c6dc48 @mixu committed Oct 12, 2015
Showing with 8 additions and 5 deletions.
  1. +0 −1 .gitignore
  2. +1 −1 bin/shot.js
  3. +3 −1 electron/run-tasks.js
  4. +1 −1 package.json
  5. +3 −1 readme.md
View
@@ -1,4 +1,3 @@
node_modules/
*.png
.DS_Store
-
View
@@ -55,7 +55,7 @@ function runElectron() {
if (typeof argv[key] !== 'boolean') {
return all.concat([ '--' + key, argv[key] ]);
} else {
- return all.concat('--' + (argv[key] ? 'no-' : ''));
+ return all.concat('--' + (argv[key] ? 'no-' : '') + key);
}
}, []));
@@ -1,4 +1,5 @@
var fs = require('fs'),
+ os = require('os'),
path = require('path');
var ipc = require('ipc'),
@@ -14,7 +15,8 @@ module.exports = function(tasks) {
if (i === 0) {
mainWindow = new BrowserWindow({
show: true,
- 'enable-larger-than-screen': true,
+ // SEGFAULTS on linux (!) with Electron 0.33.7 (!!)
+ 'enable-larger-than-screen': (os.platform() !== 'linux'),
'skip-taskbar': true,
'use-content-size': true,
// resizable: false,
View
@@ -1,7 +1,7 @@
{
"name": "electroshot",
"version": "1.0.0",
- "description": "# Features",
+ "description": "Capture website screenshots (with web fonts!) using Electron",
"main": "test.js",
"scripts": {
"test": "mocha -R spec --bail ./test/*.test.js"
View
@@ -1,4 +1,6 @@
-# screenshot
+# electroshot
+
+Capture website screenshots (with web fonts!) using Electron.
# Features

0 comments on commit 0be0574

Please sign in to comment.