Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
- updates dependencies
  • Loading branch information
gabrielcsapo committed Aug 13, 2017
1 parent b2f981b commit 6932bda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ const { app, BrowserWindow, ipcMain, Tray, Menu, MenuItem, shell } = require('el

const path = require('path')
const local = require('local-npm');
const os = require('os');

const assetsDir = path.join(__dirname, 'assets');
const tempDir = path.join(__dirname, 'temp');
const assetsDir = path.resolve(__dirname, 'assets');

const server = local({
directory: tempDir,
directory: path.resolve(os.homedir(), '.local-npm'),
port: 5678,
pouchPort: 3040,
logLevel: 'error',
Expand All @@ -22,7 +22,7 @@ const server = local({
let tray;

app.on('ready', () => {
tray = new Tray(path.resolve(__dirname, './assets/cloudTemplate.png'));
tray = new Tray(path.resolve(assetsDir, 'cloudTemplate.png'));

var requests = 0;
var sync = 0;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "local-npm-daemon",
"version": "0.1.0",
"version": "0.1.1",
"description": "An electron application to run local-npm",
"main": "index.js",
"scripts": {
Expand All @@ -18,11 +18,11 @@
},
"homepage": "https://github.com/gabrielcsapo/local-npm-daemon#readme",
"devDependencies": {
"electron": "^1.6.11",
"electron": "^1.7.5",
"electron-packager": "^8.7.2",
"electron-rebuild": "^1.5.11"
"electron-rebuild": "^1.6.0"
},
"dependencies": {
"local-npm": "^2.2.0"
"local-npm": "^2.2.1"
}
}

0 comments on commit 6932bda

Please sign in to comment.