Permalink
Browse files

Fix install

  • Loading branch information...
1 parent 9953b9c commit 85058f31b01b4adf7af1e9ee05aa2c67202962b4 @zcbenz committed Oct 23, 2011
Showing with 7 additions and 6 deletions.
  1. +1 −0 lib/gui.js
  2. +2 −2 package.json
  3. +1 −1 tests/builder.js
  4. +1 −1 tests/dialog.js
  5. +1 −1 tests/download.js
  6. +1 −1 tests/window.js
View
@@ -0,0 +1 @@
+module.exports = require('../build/Release/gui.node');
View
@@ -4,13 +4,13 @@
, "version": "0.0.1"
, "author" : "Zhao Cheng <zcbenz@gmail.com>"
, "repository" : { "type" : "git",
- "url" : "https://github.com/zcbenz/node-gui.git"
- }
+ "url" : "https://github.com/zcbenz/node-gui.git" }
, "bugs" : { "url" : "https://github.com/zcbenz/node-gui/issues" }
, "os" : [ "linux"
, "darwin"
, "freebsd"
, "windows" ]
+, "main" : "lib/gui"
, "homepage": "https://github.com/zcbenz/node-gui"
, "config": { "native" : true }
, "engines" : { "node" : ">=0.5.8" }
View
@@ -1,4 +1,4 @@
-var gui = require('gui');
+var gui = require('../lib/gui');
new gui.Builder (__dirname + '/builder.glade', function (builder) {
var window = builder.get ('window1' , gui.Window ) ;
View
@@ -1,4 +1,4 @@
-var gui = require('gui');
+var gui = require('../lib/gui');
var dialog = new gui.AboutDialog ();
View
@@ -1,4 +1,4 @@
-var gui = require ('gui');
+var gui = require ('../lib/gui');
var http = require ('http');
new gui.Builder (__dirname + '/download.glade', function (builder) {
View
@@ -1,4 +1,4 @@
-var gui = require('gui');
+var gui = require('../lib/gui');
var window = new gui.Window ({
'title': 'node-gui',

0 comments on commit 85058f3

Please sign in to comment.