From e8eefba8f142779610cd648bd19e5f03f67864a1 Mon Sep 17 00:00:00 2001 From: Bill Mullen Date: Fri, 19 May 2017 21:52:05 -1000 Subject: [PATCH] hello world --- .project | 17 +++++++++++++++++ .settings/.jsdtscope | 7 +++++++ .../org.eclipse.wst.jsdt.ui.superType.container | 1 + .../org.eclipse.wst.jsdt.ui.superType.name | 1 + app/index.html | 1 + main.js | 15 +++++++++++++++ package.json | 11 +++++++++++ 7 files changed, 53 insertions(+) create mode 100644 .project create mode 100644 .settings/.jsdtscope create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 app/index.html create mode 100644 main.js create mode 100644 package.json diff --git a/.project b/.project new file mode 100644 index 0000000..288788f --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + electron-bill3 + + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope new file mode 100644 index 0000000..2e771d4 --- /dev/null +++ b/.settings/.jsdtscope @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..49c8cd4 --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.JRE_CONTAINER \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..11006e2 --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Global \ No newline at end of file diff --git a/app/index.html b/app/index.html new file mode 100644 index 0000000..6b5d288 --- /dev/null +++ b/app/index.html @@ -0,0 +1 @@ +

Hello, world!

\ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..18d47a9 --- /dev/null +++ b/main.js @@ -0,0 +1,15 @@ +'use strict'; + +const {app} = require('electron') +const {BrowserWindow} = require('electron') + +var mainWindow = null; + +app.on('ready', function() { + mainWindow = new BrowserWindow({ + height: 600, + width: 800 + }); + + mainWindow.loadURL('file://' + __dirname + '/app/index.html'); +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..c828faf --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "sound_machine", + "version": "0.1.0", + "main": "./main.js", + "scripts": { + "start": "electron ." + }, + "devDependencies": { + "electron-prebuilt": "^1.4.13" + } +}