From eab7a03f70ca8b026a789540585116fcddc0b602 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 19 Oct 2022 23:34:51 -0700 Subject: [PATCH] Update launchers.py --- scripts/wk/cfg/launchers.py | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/scripts/wk/cfg/launchers.py b/scripts/wk/cfg/launchers.py index 58e26187..a03c7ef9 100644 --- a/scripts/wk/cfg/launchers.py +++ b/scripts/wk/cfg/launchers.py @@ -18,8 +18,8 @@ LAUNCHERS = { }, '2) Windows Updates': { 'L_TYPE': 'Executable', - 'L_PATH': '.', - 'L_ITEM': 'control', + 'L_PATH': r'%SystemRoot%\System32', + 'L_ITEM': 'control.exe', 'L_ARGS': 'update', 'L_ELEV': 'True', }, @@ -81,6 +81,24 @@ LAUNCHERS = { 'L_PATH': 'ConEmu', 'L_ITEM': 'ConEmu.exe', }, + 'Debug Console (Command Prompt)': { + 'L_TYPE': 'Executable', + 'L_PATH': 'ConEmu', + 'L_ITEM': 'ConEmu.exe', + 'L_ARGS': r'-Dir %bin%\Scripts', + 'L_ELEV': 'True', + }, + 'Debug Console (Python)': { + 'L_TYPE': 'Executable', + 'L_PATH': 'ConEmu', + 'L_ITEM': 'ConEmu.exe', + 'L_ARGS': r'-Dir %bin%\Scripts -Run ..\Python\x%ARCH%\python.exe -i embedded_python_env.py', + 'L_ELEV': 'True', + 'Extra Code': [ + 'set ARCH=32', + 'if /i "%PROCESSOR_ARCHITECTURE%" == "AMD64" set "ARCH=64"', + ], + }, 'ERUNT': { 'L_TYPE': 'Executable', 'L_PATH': 'erunt', @@ -245,17 +263,6 @@ LAUNCHERS = { 'L_ITEM': 'UninstallView.exe', 'L_ELEV': 'True', }, - 'WizardKit Debug Console': { - 'L_TYPE': 'Executable', - 'L_PATH': 'ConEmu', - 'L_ITEM': 'ConEmu.exe', - 'L_ARGS': r'-Dir %bin%\Scripts -Run ..\Python\x%ARCH%\python.exe -i embedded_python_env.py', - 'L_ELEV': 'True', - 'Extra Code': [ - 'set ARCH=32', - 'if /i "%PROCESSOR_ARCHITECTURE%" == "AMD64" set "ARCH=64"', - ], - }, 'WizTree': { 'L_TYPE': 'Executable', 'L_PATH': 'WizTree',