1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| 'use strict';
|
| module.exports = {
| pkg: {
| patches: {
| 'build/scripts.js': [
| "path.join(__dirname, '..', 'scripts')",
| "path.join(path.dirname(process.execPath), 'drivelist')",
| ],
| 'lib/scripts.js': [
| "path.join(__dirname, '..', 'scripts')",
| "path.join(path.dirname(process.execPath), 'drivelist')", // for 4.0.0
| ],
| },
| deployFiles: [
| ['build/Release/drivelist.node', 'drivelist.node'],
| ['scripts/darwin.sh', 'drivelist/darwin.sh'],
| ['scripts/linux.sh', 'drivelist/linux.sh'],
| ['scripts/win32.bat', 'drivelist/win32.bat'],
| ],
| },
| };
|
|