Skip to content

Commit f7c88e5

Browse files
Merge pull request livecode#7374 from livecodepanos/test-bugfix-21857
[21857] Make autoupdater faster when downloading a new LC version
2 parents 4044aa2 + c9407bf commit f7c88e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builder/installer/installeruiupdatedownloadcardbehavior.livecodescript

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private command downloadNewVersion pUrl, pCheckSum, pDestination
5757
put urlEncode(the last item of pURL) into the last item of pURL
5858
set the itemDel to comma
5959
libURLSetStatusCallback "downloadLatestRevisionUpdates", the long id of me
60-
load URL pURL with message "downloadLatestRevisionComplete"
60+
libURLDownloadToFile pUrl, sFileName, "downloadLatestRevisionComplete"
6161
else
6262

6363
-- The file already exists execute it
@@ -77,7 +77,6 @@ end downloadNewVersion
7777
--
7878
on downloadLatestRevisionComplete pURL, pStatus
7979
if pStatus is among the words "downloaded cached" then
80-
put URL the uRemoteURL of me into URL ("binfile:" & sFileName)
8180
launchDownloadedInstaller
8281
if the result is not empty then
8382
set the uError of card "Finish" to the result

docs/notes/bugfix-21857.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make autoupdater faster when downloading a new LiveCode version

0 commit comments

Comments
 (0)