Skip to content

Commit c7d2445

Browse files
committed
U docs updated
1 parent 2f291fc commit c7d2445

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add the following `plugin` tag to your `pom.xml`:
2323
<plugin>
2424
<groupId>io.github.fvarrui</groupId>
2525
<artifactId>javapackager</artifactId>
26-
<version>1.6.6-SNAPSHOT</version>
26+
<version>1.6.6</version>
2727
<executions>
2828
<execution>
2929
<phase>package</phase>
@@ -71,7 +71,7 @@ buildscript {
7171
mavenCentral()
7272
}
7373
dependencies {
74-
classpath 'io.github.fvarrui:javapackager:1.6.5'
74+
classpath 'io.github.fvarrui:javapackager:1.6.6'
7575
}
7676
}
7777
@@ -151,6 +151,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
151151
| `displayName` | :x: | `${project.name}` or `${name}` | App name to show. |
152152
| `envPath` | :x: | | Defines PATH environment variable in GNU/Linux and Mac OS X startup scripts. |
153153
| `extra` | :x: | | Map with extra properties to be used in customized Velocity templates, accesible through `$info.extra` variable. |
154+
| `forceInstaller` | :x: | `false` | If `true`, skips operating system checks when generating installers. |
154155
| `generateInstaller` | :x: | `true` | Generates an installer for the app. |
155156
| `jdkPath` | :x: | `${java.home}` | JDK used to generate a customized JRE. It allows to bundle customized JREs for different platforms. |
156157
| `jreDirectoryName` | :x: | `"jre"` | Bundled JRE directory name. |

docs/windows-specific-properties.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<originalFilename>${name}.exe</originalFilename>
2525

2626
<!-- choose EXE creation tool -->
27-
<exeCreationTool>launch4j|winrun4j</exeCreationTool>
27+
<exeCreationTool>launch4j|winrun4j|why</exeCreationTool>
2828
<vmLocation>relative/path/to/jvm.dll</vmLocation>
2929

3030
<!-- setup generation properties -->
@@ -75,29 +75,27 @@
7575

7676
## Exe creation properties
7777

78-
| Property | Mandatory | Default value | Description |
79-
| ------------------- | --------- | --------------------- | ---------------------------------------------------------------------- |
80-
| `headerType` | :x: | `"gui"` | EXE header type: `console` or `gui`. |
81-
| `wrapJar` | :x: | `true` | Wrap JAR file in native EXE. |
82-
| `companyName` | :x: | `${organizationName}` | EXE company name. |
83-
| `fileVersion` | :x: | `"1.0.0.0"` | EXE file version. |
84-
| `txtFileVersion` | :x: | `${version}` | EXE txt file version. |
85-
| `productVersion` | :x: | `"1.0.0.0"` | EXE product version. |
86-
| `txtProductVersion` | :x: | `${version}` | EXE txt product version. |
87-
| `fileDescription` | :x: | `${description}` | EXE file description. |
88-
| `copyright` | :x: | `${organizationName}` | EXE copyright. |
89-
| `productName` | :x: | `${name}` | EXE product name. |
90-
| `internalName` | :x: | `${name}` | EXE internal name. |
91-
| `originalFilename` | :x: | `${name}.exe` | EXE original filename. |
92-
| `trademark` | :x: | | EXE trademark. |
93-
| `language` | :x: | | EXE language. |
94-
| `exeCreationTool` | :x: | `launch4j` | EXE creation tool: `launch    4j` or `winrun4j`. |
95-
| `vmLocation` | :x: | | `jvm.dll` path relative to the bundled JRE. **Only for WinRun4J**. \*1 |
78+
| Property | Mandatory | Default value | Description |
79+
| ------------------- | --------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80+
| `headerType` | :x: | `"gui"` | EXE header type: `console` or `gui`. |
81+
| `wrapJar` | :x: | `true` | Wrap JAR file in native EXE. |
82+
| `companyName` | :x: | `${organizationName}` | EXE company name. |
83+
| `fileVersion` | :x: | `"1.0.0.0"` | EXE file version. |
84+
| `txtFileVersion` | :x: | `${version}` | EXE txt file version. |
85+
| `productVersion` | :x: | `"1.0.0.0"` | EXE product version. |
86+
| `txtProductVersion` | :x: | `${version}` | EXE txt product version. |
87+
| `fileDescription` | :x: | `${description}` | EXE file description. |
88+
| `copyright` | :x: | `${organizationName}` | EXE copyright. |
89+
| `productName` | :x: | `${name}` | EXE product name. |
90+
| `internalName` | :x: | `${name}` | EXE internal name. |
91+
| `originalFilename` | :x: | `${name}.exe` | EXE original filename. |
92+
| `trademark` | :x: | | EXE trademark. |
93+
| `language` | :x: | | EXE language. |
94+
| `exeCreationTool` | :x: | `launch4j` | EXE creation tool: [`launch4j`](http://launch4j.sourceforge.net/), [`why`](https://github.com/AstroImageJ/Why) or [`winrun4j`](http://winrun4j.sourceforge.net/). |
95+
| `vmLocation` | :x: | | `jvm.dll` path relative to the bundled JRE. **Only for WinRun4J**. \*1 |
9696

9797
> \*1: If a JRE is bundled and `vmLocation` is not specified, it uses `bin\client\jvm.dll` or `bin\server\jvm.dll` as VM location by default.
9898
99-
100-
10199
## Setup generation properties
102100

103101
| Property | Mandatory | Default value | Description |
@@ -108,7 +106,7 @@
108106
| `disableProgramGroupPage` | :x: | `true` | If this is set to `true`, Setup will not show the **Select Start Menu Folder** wizard page. |
109107
| `disableFinishedPage` | :x: | `true` | If this is set to `true`, Setup will not show the **Setup Completed** wizard page. |
110108
| `disableWelcomePage` | :x: | `true` | If this is set to `true`, Setup will not show **Welcome Page**. |
111-
| `createDesktopIconTask` | :x: | `true` | If this is set to `true`, Setup will not ask for **desktop icon creation**. |
109+
| `createDesktopIconTask` | :x: | `true` | If this is set to `true`, Setup will ask for **desktop icon creation**. |
112110
| `removeOldLibs` | :x: | `false` | If there's a previous installation, removes old `libs` folder before install. |
113111

114112
### SetupMode

0 commit comments

Comments
 (0)