mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[installer] Remember prior 32bit and 64bit install paths separately
This commit is contained in:
@@ -115,7 +115,7 @@ It must be closed before the installation can proceed</progressText>
|
||||
<actionList>
|
||||
<readFile>
|
||||
<name>installBaseDir</name>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath.txt</path>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath-${architecture}bit.txt</path>
|
||||
</readFile>
|
||||
<setInstallerVariableFromRegEx>
|
||||
<name>installBaseDir</name>
|
||||
@@ -130,7 +130,7 @@ It must be closed before the installation can proceed</progressText>
|
||||
</platformTest>
|
||||
<fileTest>
|
||||
<condition>readable</condition>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath.txt</path>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath-${architecture}bit.txt</path>
|
||||
</fileTest>
|
||||
</ruleList>
|
||||
</actionGroup>
|
||||
@@ -214,7 +214,7 @@ It must be closed before the installation can proceed</progressText>
|
||||
</ruleList>
|
||||
</createDirectory>
|
||||
<writeFile>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath.txt</path>
|
||||
<path>${windows_folder_local_appdata}/org.swift-project/lastinstallpath-${architecture}bit.txt</path>
|
||||
<text>${installdir}</text>
|
||||
<ruleList>
|
||||
<platformTest>
|
||||
|
||||
Reference in New Issue
Block a user