File tree Expand file tree Collapse file tree 4 files changed +4
-22
lines changed
src/main/java/io/woo/htmltopdf/wkhtmltopdf Expand file tree Collapse file tree 4 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This fork:
1313
1414Gradle:
1515``` groovy
16- compile 'io.woo:htmltopdf:1.0.9.5 '
16+ compile 'io.woo:htmltopdf:1.0.9.6 '
1717```
1818
1919Maven:
2828<dependency >
2929 <groupId >com.github.MagentaHealth</groupId >
3030 <artifactId >htmltopdf-java</artifactId >
31- <version >1.0.9.5 </version >
31+ <version >1.0.9.6 </version >
3232</dependency >
3333```
3434
Original file line number Diff line number Diff line change 11group ' io.woo'
2- version ' 1.0.9.5 '
2+ version ' 1.0.9.6 '
33
44apply plugin : ' java'
55apply plugin : ' maven'
Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66 <groupId >com.github.MagentaHealth</groupId >
77 <artifactId >htmltopdf-java</artifactId >
8- <version >1.0.9.5 </version >
8+ <version >1.0.9.6 </version >
99
1010 <dependencies >
1111 <dependency >
Original file line number Diff line number Diff line change @@ -26,21 +26,8 @@ static WkHtmlToPdf load() {
2626 }
2727
2828 String libPath = getLibraryResource ();
29- System .out .println ("Attempting to load: " + libPath );
30-
3129 File libraryFile = new File (tmpDir , libPath );
3230
33- try {
34- System .out .println ("libraryFile.getAbsolutePath(): " + libraryFile .getAbsolutePath ());
35- System .out .println ("libraryFile.getCanonicalPath(): " + libraryFile .getCanonicalPath ());
36- System .out .println ("libraryFile.getName(): " + libraryFile .getName ());
37- System .out .println ("libraryFile.getPath(): " + libraryFile .getPath ());
38- System .out .println ("libraryFile.toString(): " + libraryFile .toString ());
39- }
40- catch (IOException e ) {
41- throw new RuntimeException (e );
42- }
43-
4431 if (!libraryFile .exists ()) {
4532 try {
4633 File dirPath = libraryFile .getParentFile ();
@@ -90,15 +77,10 @@ else if (Platform.isLinux()) {
9077 String id = osReleaseProperties .getProperty ("ID" );
9178 String versionCodename = osReleaseProperties .getProperty ("VERSION_CODENAME" );
9279
93- System .out .println ("id: " + id );
94- System .out .println ("versionCodename: " + versionCodename );
95-
9680 libPath += "." + id ;
9781 libPath += "." + versionCodename ;
9882 libPath += Platform .isARM () ? ".arm64" : ".amd64" ;
9983 libPath += ".so" ;
100-
101- System .out .println ("libPath: " + libPath );
10284 }
10385 else {
10486 throw new RuntimeException ("Your platform is unsupported. What platform is this?" );
You can’t perform that action at this time.
0 commit comments