Skip to content

Commit

Permalink
Change installation directory to LocalAppData
Browse files Browse the repository at this point in the history
Fixes #1951, #1952
  • Loading branch information
micheljung authored and Sheikah45 committed Jul 3, 2021
1 parent 02a6730 commit d6eece4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions downlords-faf-client.install4j
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="8.0.8" transformSequenceNumber="8">
<directoryPresets config="./src/media/appicon" />
<application name="Downlord's FAF Client" applicationId="2848-7798-9769-5013" mediaDir="./build/install4j" lzmaCompression="true" pack200Compression="true" shortName="dfc" publisher="Downlord" publisherWeb="https://github.com/FAForever/downlords-faf-client" allPathsRelative="true" autoSave="true" macVolumeId="e230e730a6fc064c" javaMinVersion="15" javaMaxVersion="15" allowBetaVM="true">
<application name="FAF Client" applicationId="2848-7798-9769-5013" mediaDir="./build/install4j" lzmaCompression="true" pack200Compression="true" shortName="faf" publisher="Forged Alliance Forever" publisherWeb="https://www.faforever.com" allPathsRelative="true" autoSave="true" macVolumeId="e230e730a6fc064c" javaMinVersion="15" javaMaxVersion="15" allowBetaVM="true">
<languages>
<additionalLanguages>
<language id="zh_CN" />
Expand Down Expand Up @@ -38,7 +38,7 @@
</files>
<launchers>
<launcher name="FAF Client" id="25">
<executable name="downlords-faf-client" iconSet="true" executableMode="gui" changeWorkingDirectory="false" workingDirectory="bin" singleInstance="true" checkConsoleParameter="true" dpiAware="true" />
<executable name=faf-client" iconSet="true" executableMode="gui" changeWorkingDirectory="false" workingDirectory="bin" singleInstance="true" checkConsoleParameter="true" dpiAware="true" />
<splashScreen show="true" width="640" height="400" bitmapFile="./src/media/splash/splash.png" textOverlay="true">
<text>
<statusLine x="11" y="378" fontSize="10" fontColor="255,255,255" />
Expand Down Expand Up @@ -89,7 +89,6 @@
<serializedBean>
<property name="failIfNotObtainedMac" type="boolean" value="false" />
<property name="failIfNotObtainedWin" type="boolean" value="false" />
<property name="obtainIfNormalWin" type="boolean" value="true" />
</serializedBean>
</action>
<action id="695" beanClass="com.install4j.runtime.beans.actions.misc.CheckRunningProcessesAction" actionElevationType="none" rollbackBarrierExitCode="0" failureStrategy="askQuit">
Expand Down Expand Up @@ -396,8 +395,8 @@ return console.askYesNo(message, true);
</formComponent>
<formComponent id="809" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
<serializedBean>
<property name="checkboxText" type="string">Delete metadata like settings and game files.</property>
<property name="helpText" type="string">Deletes C:\ProgramData\FaForever and $USER_HOME$\AppData\Roaming\Forged Alliance Forever</property>
<property name="labelText" type="string">Delete metadata like settings and game files.</property>
<property name="variableName" type="string">delAll</property>
</serializedBean>
</formComponent>
Expand Down Expand Up @@ -655,7 +654,7 @@ return console.askYesNo(message, true);
</styles>
</installerGui>
<mediaSets>
<windows name="Windows" id="26" installDir="${compiler:sys.fullName}">
<windows name="Windows" id="26" installDir="${compiler:sys.fullName}" customInstallBaseDir="${LOCALAPPDATA}">
<exclude>
<entry location="lib/faf-uid" />
<entry location="lib/uid" />
Expand Down

0 comments on commit d6eece4

Please sign in to comment.