From cd36f8bb5fcbce5e6e4a92968b3caff14d236c63 Mon Sep 17 00:00:00 2001 From: Angelmaneuver Date: Mon, 2 Sep 2024 02:19:58 +0900 Subject: [PATCH] Fixed a bug that do not executed commands from tree view. --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/includes/kickstarter.ts | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f52f032..48782f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 1.1.1 + +- Fixed a bug that do not executed commands from tree view + ## 1.1.0 - Added the feature for command list tree view diff --git a/package.json b/package.json index 17a13fd..955ebac 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Command Launcher", "description": "Toolbox to manage your extensions and terminal commands.", "publisher": "Angelmaneuver", - "version": "1.1.0", + "version": "1.1.1", "homepage": "https://github.com/Angelmaneuver/command-launcher/blob/main/README.md#command-launcher", "repository": { "type": "git", diff --git a/src/includes/kickstarter.ts b/src/includes/kickstarter.ts index c6df8df..529133e 100644 --- a/src/includes/kickstarter.ts +++ b/src/includes/kickstarter.ts @@ -176,7 +176,13 @@ async function terminalCommand( start(guide.key, state, [state, ...(guide.args ??= [])]); } else { try { - executeTerminalCommand({ ...state, ...command }); + executeTerminalCommand({ + ...state, + name: command.name, + terminalCommand: command.command, + autoRun: (command.autoRun ??= true), + singleton: (command.singleton ??= false), + }); } catch (e) { errorHandling(e); }