Skip to content

Commit

Permalink
Add pcgen.bat to distro
Browse files Browse the repository at this point in the history
  • Loading branch information
LegacyKing committed Dec 5, 2018
1 parent 9c1f703 commit 743e697
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ task copyToOutput(type: Copy, dependsOn: [createExe, copyToLibs, jar,
from "$buildDir/libs/pcgen-${version}.jar"
from "$buildDir/libs/pcgen-${version}-batch-convert.jar"
from "$buildDir/launch4j/pcgen.exe"
from "$projectDir/code/pcgen.bat"
from("$projectDir/code/pcgen.sh") {
filter(FixCrLfFilter, eol:FixCrLfFilter.CrLf.newInstance("lf"))
fileMode 0755
Expand All @@ -263,6 +264,7 @@ task installToRoot(type: Copy, dependsOn: [syncLibsToRoot, createExe, jar,
from "$buildDir/libs/pcgen-${version}.jar"
from "$buildDir/libs/pcgen-${version}-batch-convert.jar"
from "$buildDir/launch4j/pcgen.exe"
from "$projectDir/code/pcgen.bat"
from("$projectDir/code/pcgen.sh") {
filter(FixCrLfFilter, eol:FixCrLfFilter.CrLf.newInstance("lf"))
fileMode 0755
Expand Down
1 change: 1 addition & 0 deletions code/gradle/distribution.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ ext {
}
from('code') {
include 'LICENSE'
include 'pcgen.bat'
include 'pcgen.sh'
eachFile{ file ->
if(file.getName().endsWith(".sh")) {
Expand Down
1 change: 1 addition & 0 deletions code/gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ task layoutNsisBase(type: Copy, dependsOn: [createExe, copyToLibs,
include 'pcgen.exe'
}
from ("${projectDir}/code") {
include 'pcgen.bat'
include 'pcgen.sh'
filter(FixCrLfFilter, eol:FixCrLfFilter.CrLf.newInstance("lf"))
fileMode 0755
Expand Down
1 change: 1 addition & 0 deletions code/pcgen.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -jar pcgen.jar -Dsun.java2d.d3d=false

0 comments on commit 743e697

Please sign in to comment.