Permalink
Browse files

Add pcgen.bat file as a backup. (#4603)

  • Loading branch information...
LegacyKing authored and thpr committed Dec 6, 2018
1 parent d59aa9f commit b305acfc98606cad3c8bcdd814ec7e8927b3e866
Showing with 5 additions and 0 deletions.
  1. +2 −0 build.gradle
  2. +1 −0 code/gradle/distribution.gradle
  3. +1 −0 code/gradle/release.gradle
  4. +1 −0 code/pcgen.bat
@@ -234,6 +234,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
@@ -258,6 +259,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
@@ -52,6 +52,7 @@ ext {
}
from('code') {
include 'LICENSE'
include 'pcgen.bat'
include 'pcgen.sh'
eachFile{ file ->
if(file.getName().endsWith(".sh")) {
@@ -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
@@ -0,0 +1 @@
java -jar pcgen.jar -Dsun.java2d.d3d=false

0 comments on commit b305acf

Please sign in to comment.