Skip to content

Commit

Permalink
Try other shit
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Apr 7, 2016
1 parent 716d0f3 commit 822dca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jabref.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<void property="script">
<object class="com.install4j.api.beans.ScriptProperty">
<void property="value">
<string>if (Util.hasFullAdminRights()) {
<string>if (Util.isDirectoryWritable(context.getInstallationDirectory())) {
context.setInstallationDirectory(context.getInstallationDirectory());
} else {
context.setInstallationDirectory(new File(System.getProperty("user.home"), "JabRef"));
Expand Down

0 comments on commit 822dca8

Please sign in to comment.