Skip to content

Commit

Permalink
Workaround: autodecting the LAN interface on windows might select an …
Browse files Browse the repository at this point in the history
…ipv6 device, which is likely not the right one. Telling a .EXE user to use the commandline is futile at best, so let's just force the ipv4 stack by default for the .EXE version.
  • Loading branch information
onyxbits committed Jan 3, 2017
1 parent bca3656 commit 7f2d98b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ launch4j {
outfile = 'Raccoon-' +version +'.exe'
mainClassName = 'de.onyxbits.raccoon.Main'
opt='-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
opt='-Djava.net.preferIPv4Stack=true'
jar = "lib/${project.tasks.fatJar.archiveName}"
icon= '../../icon.ico'
}
Expand Down

0 comments on commit 7f2d98b

Please sign in to comment.