File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/io/github/fvarrui/javapackager/maven Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2323import io .github .fvarrui .javapackager .packagers .Context ;
2424import io .github .fvarrui .javapackager .packagers .WindowsPackager ;
2525import io .github .fvarrui .javapackager .utils .FileUtils ;
26+ import io .github .fvarrui .javapackager .utils .RcEdit ;
2627
2728/**
2829 * Creates Windows executable with Maven
@@ -108,17 +109,17 @@ protected File doApply(WindowsPackager packager) throws Exception {
108109 plugin (
109110 groupId ("com.akathist.maven.plugins.launch4j" ),
110111 artifactId ("launch4j-maven-plugin" ),
111- version ("2.1 .1" )
112+ version ("2.4 .1" )
112113 ),
113114 goal ("launch4j" ),
114115 configuration (pluginConfig .toArray (new Element [pluginConfig .size ()])),
115116 Context .getMavenContext ().getEnv ()
116117 );
117118
118119 sign (getGenericExe (), packager );
119-
120+
120121 FileUtils .copyFileToFile (getGenericExe (), executable );
121-
122+
122123 } catch (Exception ex ) {
123124 throw new RuntimeException (ex );
124125 }
You can’t perform that action at this time.
0 commit comments