From fd713808d6cc801e5d1b94fef191b0ba9ad7dc93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Fri, 8 Nov 2024 19:38:19 +0800 Subject: [PATCH] fix set host triplet (#17) --- VERSION.md | 5 +++++ package.json | 2 +- src/configuration.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/VERSION.md b/VERSION.md index e97f2d2..8c62b4e 100644 --- a/VERSION.md +++ b/VERSION.md @@ -1,5 +1,10 @@ # History +## 2.2.2 +Bug fixes: + +- Fix set host triplet. + ## 2.2.1 Bug fixes: diff --git a/package.json b/package.json index ba39b64..a9704bd 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "icon": "images/vcpkg-logo.png", "publisher": "JackBoosY", "license": "MIT", - "version": "2.2.1", + "version": "2.2.2", "engines": { "vscode": "^1.76.0" }, diff --git a/src/configuration.ts b/src/configuration.ts index 82135b3..b6227f0 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -895,7 +895,7 @@ export class ConfigurationManager implements vscode.Disposable let result = await vscode.window.showQuickPick(triplets, {canPickMany: false, placeHolder: "Choose a triplet"}); if (result !== undefined) { - this.updateVcpkgSetting(this._targetTripletConfig, result.label); + this.updateVcpkgSetting(this._hostTripletConfig, result.label); this.logInfo('update host triplet to: ' + result.label); vscode.window.showInformationMessage('Update host triplet to: ' + result.label); }