Skip to content

Commit 83fd983

Browse files
author
Alan Smith
authored
Removed promises pollyfill, updated readme and version bump (Teamwork#36)
* Removed promises pollyfill, updated readme and version bump * updated appveyor node version * Updated Travis CI test file
1 parent 9cbca0e commit 83fd983

8 files changed

+13
-18
lines changed

Diff for: .travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
language: node_js
22
node_js:
3-
- "0.10"
4-
- "0.11"
3+
- "4.0.0"

Diff for: README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ node-auto-launch
55

66
---
77

8-
Launch applications or executables at login (Mac, Windows and Linux). Perfect for [NW.js](https://github.com/nwjs/nw.js) and [Electron](http://electron.atom.io/) apps.
8+
Launch applications or executables at login (Mac, Windows and Linux). Perfect for [NW.js](https://github.com/nwjs/nw.js) and [Electron](http://electron.atom.io/) apps. Also handles Electron updates on Windows so the correct version of your app is launched when using the auto updater.
9+
10+
## Notes
11+
- Node V4 or greater is required.
12+
- With v3.0 the ES6-Promise dependency has been removed. This module automatically overwrote Promise in the global namespace. If upgrading to v3 check to make sure this will not affect your project.
913

1014
## Installation
1115

@@ -41,7 +45,7 @@ appLauncher.isEnabled().then(function(enabled){
4145
if(enabled) return;
4246
return appLauncher.enable()
4347
}).then(function(err){
44-
48+
4549
});
4650
```
4751

Diff for: appveyor.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# Test against these versions of Node.js.
22
environment:
33
matrix:
4-
- nodejs_version: "0.10"
5-
- nodejs_version: "0.11"
6-
7-
# Allow failing jobs for bleeding-edge Node.js versions.
8-
matrix:
9-
allow_failures:
10-
- nodejs_version: "0.11"
4+
- nodejs_version: "4.0.0"
115

126
platform:
137
- x86

Diff for: package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"name": "auto-launch",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"description": "Launch node applications or executables at login (Mac, Windows, and Linux)",
55
"main": "dist/index.js",
66
"scripts": {
77
"test": "gulp test"
88
},
9+
"engines" : {
10+
"node": ">=4.0.0"
11+
},
912
"repository": {
1013
"type": "git",
1114
"url": "https://github.com/4ver/node-auto-launch"
@@ -14,6 +17,7 @@
1417
"login",
1518
"launch",
1619
"node-webkit",
20+
"electron",
1721
"boot",
1822
"login-items"
1923
],
@@ -40,7 +44,6 @@
4044
"homepage": "https://github.com/4ver/node-auto-launch",
4145
"dependencies": {
4246
"applescript": "^1.0.0",
43-
"es6-promise": "^3.1.2",
4447
"mkdirp": "^0.5.1",
4548
"untildify": "^2.1.0",
4649
"winreg": "1.0.1"

Diff for: src/AutoLaunchLinux.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
fs = require('fs')
22
mkdirp = require('mkdirp')
33
untildify = require('untildify')
4-
Promise = require('es6-promise').Promise
54

65
module.exports =
76
getDir: (opts) ->

Diff for: src/AutoLaunchMac.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
applescript = require 'applescript'
2-
Promise = require('es6-promise').Promise
32

43
tellTo = 'tell application "System Events" to '
54

Diff for: src/AutoLaunchWindows.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
fs = require 'fs'
22
path = require 'path'
33
Winreg = require 'winreg'
4-
Promise = require('es6-promise').Promise
54

65
regKey = new Winreg
76
hive: Winreg.HKCU

Diff for: src/index.coffee

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Promise = require('es6-promise').Promise
2-
31
# Public: REPLACE_WITH_DESCRIPTION
42
module.exports = class AutoLaunch
53

0 commit comments

Comments
 (0)