Skip to content

Commit d0d7d8b

Browse files
committed
U removes wrapjar property check and shows used exe creation tool
1 parent 8ae84d5 commit d0d7d8b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/java/io/github/fvarrui/javapackager/packagers/WindowsPackager.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import org.apache.commons.lang3.StringUtils;
88

9-
import io.github.fvarrui.javapackager.utils.FileUtils;
109
import io.github.fvarrui.javapackager.utils.Logger;
1110
import io.github.fvarrui.javapackager.utils.VelocityUtils;
1211

@@ -55,13 +54,8 @@ protected void doCreateAppStructure() throws Exception {
5554
@Override
5655
public File doCreateApp() throws Exception {
5756

58-
Logger.infoIndent("Creating windows EXE ...");
57+
Logger.infoIndent("Creating windows EXE ... with " + getWinConfig().getExeCreationTool());
5958

60-
// copies JAR to app folder
61-
if (!winConfig.isWrapJar()) {
62-
FileUtils.copyFileToFolder(jarFile, appFolder);
63-
}
64-
6559
// generates manifest file to require administrator privileges from velocity template
6660
manifestFile = new File(assetsFolder, name + ".exe.manifest");
6761
VelocityUtils.render("windows/exe.manifest.vtl", manifestFile, this);

0 commit comments

Comments
 (0)