Skip to content

Commit

Permalink
Fix this shit once for all
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Apr 7, 2016
1 parent 822dca8 commit 1f5e785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jabref.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@
</serializedBean>
<condition />
</action>
<action name="" id="184" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.RunScriptAction" enabled="true" commentSet="false" comment="" actionElevationType="inherit" rollbackBarrier="false" multiExec="true" failureStrategy="1" errorMessage="">
<action name="" id="184" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.RunScriptAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" multiExec="true" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.control.RunScriptAction">
<void property="script">
<object class="com.install4j.api.beans.ScriptProperty">
<void property="value">
<string>if (Util.isDirectoryWritable(context.getInstallationDirectory())) {
<string>if (Util.hasFullAdminRights()) {
context.setInstallationDirectory(context.getInstallationDirectory());
} else {
context.setInstallationDirectory(new File(System.getProperty("user.home"), "JabRef"));
Expand Down

0 comments on commit 1f5e785

Please sign in to comment.