refactor: addResource compiler method

This commit is contained in:
calebboyd
2017-09-19 00:54:20 -05:00
parent dbcff4c7d2
commit 4f2b1c51d5
13 changed files with 151 additions and 102 deletions
+1
View File
@@ -0,0 +1 @@
package-lock=false
+5
View File
@@ -0,0 +1,5 @@
import { NexeCompiler } from 'nexe'
export default function daemon (compiler: NexeCompiler ) {
compiler.addResource('')
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "nexe-daemon",
"version": "1.0.0",
"description": "Plugin for nexe to create installable services",
"main": "index.js",
"scripts": {},
"author": "Caleb Boyd",
"license": "MIT",
"devDependencies": {
"nexe": "^2.0.0-rc.6"
}
}
@@ -0,0 +1,6 @@
<configuration>
<id>{{id}}</id>
<name>{{name}}</name>
<description>{{description}}</description>
<executable>%BASE%\{{executable}}.exe</executable>
</configuration>
Binary file not shown.