aboutsummaryrefslogtreecommitdiffstats
path: root/qt-qml/src/downloader.ts
Commit message (Collapse)AuthorAgeFilesLines
* qt-core: qt-qml: Use optional chaining to reduce indentationOrkun Tokdemir2024-11-191-5/+3
| | | | | Change-Id: I396aaf055f35c7c67ec7c760c61a16b12c8c322b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-qml: Abort downloading qmlls when users cancelOrkun Tokdemir2024-11-191-3/+7
| | | | | | | | | | | In the previous implementation, the download process continued even after the user canceled the download. This commit fixes the issue by aborting the download when the user cancels it. * Use optional chaining to reduce indentation Change-Id: I6603d0cb76078e89e33b592cea39f717fb8ba2a2 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-qml: Add facility to download the latest qmlls binaryBen Cho2024-10-221-0/+89
Add feature to download the qmlls from central server. The extension checks for a new qmlls release at startup using server-provided JSON, which includes version and binary locations. If an update is available, the binary is installed in `UserLocalDir`. Task-number: VSCODEEXT-68 Change-Id: Iff179def26d233e6089faf2d6a1864e87b11ef9a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>