Skip to content

Commit

Permalink
Fix for using it on MAC
Browse files Browse the repository at this point in the history
  • Loading branch information
eberlitz committed Jun 12, 2015
1 parent b2dab5f commit ba8e9fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bin/splashicon-generator
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env node

var generator = require('./../index.js');
var path = require('path');
var generator = require(path.resolve(__dirname,'../index'));
var argv = require('yargs').argv;

var baseImagesPath = argv.imagespath || argv.ip || 'model';
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "splashicon-generator",
"version": "0.2.3",
"version": "0.2.4",
"description": "Automatic icon & splash resizing for PhoneGap",
"main": "index.js",
"preferGlobal": "false",
"directories": {
"bin": "./bin"
"bin": {
"splashicon-generator": "./bin/splashicon-generator"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit ba8e9fc

Please sign in to comment.