Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 3f402c7

Browse files
Merge pull request #2020 from livecode/feature_win64
[[ Win 64 ]] Add support for building win64 standalones
2 parents 199dc15 + 1385a33 commit 3f402c7

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

Toolset/libraries/revbackscriptlibrary.livecodescript

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,9 +2591,9 @@ function revExternalPath pDriver, pPlatform, pArchitecture
25912591
put revEnvironmentUserRuntimePath() & "/Mac OS X/" & pArchitecture & "/Externals/Legacy/Externals.txt" into tLegacyFile
25922592
break
25932593
case "Windows"
2594-
put revEnvironmentRuntimePath() & "/Windows/x86-32/Externals/Externals.txt" into tEnvironmentFile
2595-
put revEnvironmentUserRuntimePath() & "/Windows/x86-32/Externals/Externals.txt" into tUserFile
2596-
put revEnvironmentUserRuntimePath() & "/Windows/x86-32/Externals/Legacy/Externals.txt" into tLegacyFile
2594+
put revEnvironmentRuntimePath() & "/Windows/" & pArchitecture & "/Externals/Externals.txt" into tEnvironmentFile
2595+
put revEnvironmentUserRuntimePath() & "/Windows/" & pArchitecture & "/Externals/Externals.txt" into tUserFile
2596+
put revEnvironmentUserRuntimePath() & "/Windows/" & pArchitecture & "/Externals/Legacy/Externals.txt" into tLegacyFile
25972597
break
25982598
# OK-2007-08-14 : Linux support reinstated
25992599
case "Linux"
260 Bytes
Binary file not shown.

Toolset/palettes/standalone settings/revstandalonesettingsbehavior.livecodescript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ private command updateTabButtons pSettings
3131
end repeat
3232
set the visible of button "OSXchecked" of group "checks" of me to tEnableMacTick
3333

34-
set the visible of button "Windowschecked" of group "checks" of me to pSettings["Windows"] = true
34+
set the visible of button "Windowschecked" of group "checks" of me to pSettings["Windows"] = true or \
35+
pSettings["Windows x86-64"] = true
3536
// SN-2015-01-13: [[ Bug 14373 ]] Check also if Linux 64 or Linux ARM are checked
3637
set the visible of button "UnixChecked" of group "checks" of me to pSettings["Linux"] = true \
3738
or pSettings["Linux x64"] = true \

Toolset/palettes/standalone settings/revstandalonesettingswindowsbehavior.livecodescript

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
on preOpenCard
33
local tStandaloneSettingsA
44
put getSettings() into tStandaloneSettingsA
5-
set the hilite of btn "Windows" of group "platforms" to tStandaloneSettingsA["Windows"] = true
6-
set the enabled of group "Windows" to tStandaloneSettingsA["Windows"] = true
5+
set the itemdelimiter to ","
6+
local tEnabled
7+
put false into tEnabled
8+
repeat for each item tItem in "Windows,Windows x86-64"
9+
put tStandaloneSettingsA[tItem] = true or tEnabled into tEnabled
10+
set the hilite of btn tItem of group "platforms" to tStandaloneSettingsA[tItem] = true
11+
end repeat
12+
13+
set the enabled of group "Windows" to tEnabled
714
put tStandaloneSettingsA["Windows,iconFile"] into fld "iconFile"
815
put tStandaloneSettingsA["Windows,documenticonFile"] into fld "documenticonFile"
916
put tStandaloneSettingsA["Windows,fileDescription"] into fld "fileDescription"

0 commit comments

Comments
 (0)