Skip to content

Commit

Permalink
Fix garbage collector args being incorrectly passed to Mac app
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcashman committed Nov 3, 2021
1 parent 937ee2a commit cff6467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[1.7.2]
[1.8.0]
- Fix compatibility with Gradle 7.x
- Fix garbage collector args being incorrectly passed to Mac app

[1.7.1]
- Fix appbundler task not referencing ant project correctly
Expand Down
7 changes: 1 addition & 6 deletions src/main/groovy/org/mini2Dx/parcl/task/AppBundleTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ class AppBundleTask extends DefaultTask {
if(vmArgs != null) {
for(String vmArg : vmArgs) {
com.oracle.appbundler.Option option = new com.oracle.appbundler.Option();
if(vmArg.indexOf('=') > -1) {
option.setName(vmArg.substring(0, vmArg.indexOf('=')));
option.setValue(vmArg.substring(vmArg.indexOf('=') + 1));
} else {
option.setValue(vmArg);
}
option.setValue(vmArg);
appBundlerTask.addConfiguredOption(option);
}
}
Expand Down

0 comments on commit cff6467

Please sign in to comment.