mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-07 07:54:15 +00:00
fix testapp
This commit is contained in:
parent
86edff69d8
commit
2d128d8e99
@ -62,14 +62,12 @@ This will:
|
||||
|
||||
You should be able to launch the app on the platform you built for. If not, check your settings and try again.
|
||||
|
||||
**Be careful** not to include node_modules you don't want into your final app. `Electron-packager`, `electron-prebuilt` and `.git` will be ignored by default. You can use `--ignore` to ignore files and folders, e.g. `--ignore=node_modules/electron-packager` or `--ignore="node_modules/(electron-packager|electron-prebuilt)"`.
|
||||
**Be careful** not to include node_modules you don't want into your final app. `electron-packager`, `electron-prebuilt` and `.git` will be ignored by default. You can use `--ignore` to ignore files and folders, e.g. `--ignore=node_modules/electron-packager` or `--ignore="node_modules/(electron-packager|electron-prebuilt)"`.
|
||||
|
||||
### API
|
||||
```javascript
|
||||
var packager = require('electron-packager')
|
||||
packager(opts, function done (err, appPath) {
|
||||
|
||||
})
|
||||
packager(opts, function done (err, appPath) { })
|
||||
```
|
||||
#### packager(opts, callback)
|
||||
|
||||
|
11
test/testapp/package.json
Normal file
11
test/testapp/package.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "testapp",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "BSD-2-Clause"
|
||||
}
|
Loading…
Reference in New Issue
Block a user