generator-nsis 0.8.10 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +8 -8
- package/generators/app/index.js +232 -534
- package/generators/app/templates/installer.nsi.ejs +19 -18
- package/generators/lib/choices.js +265 -0
- package/generators/lib/helpers.js +70 -0
- package/license.txt +7 -0
- package/package.json +41 -29
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018-present Jan T. Sott
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# generator-nsis
|
|
2
2
|
|
|
3
|
-
[](https://github.com/idleberg/generator-nsis/blob/main/LICENSE)
|
|
4
|
+
[](https://www.npmjs.org/package/generator-nsis)
|
|
5
|
+
[](https://github.com/idleberg/generator-nsis/actions)
|
|
6
6
|
|
|
7
7
|
## Description
|
|
8
8
|
|
|
9
9
|
A [Yeoman](http://yeoman.io/authoring/user-interactions.html) generator for NSIS scripts.
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
**Features**
|
|
14
14
|
|
|
15
15
|
- Modern UI-aware
|
|
16
16
|
- adds sections
|
|
17
|
-
- adds core
|
|
17
|
+
- adds core libraries (”Useful Headers”)
|
|
18
18
|
- adds callback functions
|
|
19
19
|
- adds translations
|
|
20
20
|
- adds language dialog
|
|
@@ -24,7 +24,7 @@ A [Yeoman](http://yeoman.io/authoring/user-interactions.html) generator for NSIS
|
|
|
24
24
|
You need [Node.js](https://nodejs.org/en/) installed and available in your `PATH` [environment variable](http://superuser.com/a/284351/195953). Use your preferred Node package manager to install the Yeoman CLI tool.
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
|
-
npm install -g yo
|
|
27
|
+
$ npm install -g yo
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## Installation
|
|
@@ -32,7 +32,7 @@ npm install -g yo
|
|
|
32
32
|
Use your preferred package manager to install this generator
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
npm i generator-nsis -g
|
|
35
|
+
$ npm i generator-nsis -g
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Usage
|
|
@@ -40,7 +40,7 @@ npm i generator-nsis -g
|
|
|
40
40
|
Run the generator and follow its instructions. Use `--help` for available flags.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
yo nsis
|
|
43
|
+
$ yo nsis
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
*“That's all Folks!”*
|