Skip to content

Commit

Permalink
Fix the log4j configuration warning displayed when signing a MSI file (
Browse files Browse the repository at this point in the history
…Fixes #148)
  • Loading branch information
davoustp committed Mar 1, 2024
1 parent 7c77c31 commit 5259dba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ See https://ebourg.github.io/jsign for more information.
* The JCA provider now works with [apksigner](https://developer.android.com/tools/apksigner) for signing Android applications
* The APPX/MSIX bundles are now signed with the correct Authenticode UUID
* The error message displayed when the password of a PKCS#12 keystore is missing has been fixed
* The log4j configuration warning displayed when signing a MSI file has been fixed (contributed by Pascal Davoust)

#### Version 6.0 (2024-01-17)

Expand Down
1 change: 0 additions & 1 deletion jsign/src/choco/tools/jsign.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
java %JSIGN_OPTS% ^
-Djava.net.useSystemProxies=true ^
-Dbasename=jsign ^
-Dlog4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory ^
-jar %~dp0\jsign.jar %*
1 change: 0 additions & 1 deletion jsign/src/deb/data/usr/share/jsign/jsign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
java $JSIGN_OPTS \
-Djava.net.useSystemProxies=true \
-Dbasename=`basename "$0"` \
-Dlog4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory \
-jar /usr/share/jsign/jsign-@[email protected] "$@"
1 change: 1 addition & 0 deletions jsign/src/main/resources/log4j2.component.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
log4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory

0 comments on commit 5259dba

Please sign in to comment.