diff --git a/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionAllOS.java b/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionAllOS.java index 560e237..c77c03e 100644 --- a/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionAllOS.java +++ b/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionAllOS.java @@ -39,6 +39,19 @@ static public void addCommandsDefault(CommandDataList list) { } private static void addCommandsConsole(CommandDataList list) { + // Windows Pwsh - PowerShell 7 + list.add(new CommandData("6245f20a-cfd0-457b-a101-a29eeefd22b5", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7", ResourceType.resourceTypeFileOrDirectory, false, null, Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process -WorkingDirectory '${easyshell:container_loc}' pwsh\"")); + list.add(new CommandData("9fbc5abb-0b82-4fbb-9907-99d6709d0126", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process pwsh -ArgumentList '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\"")); + list.add(new CommandData("5543176e-e29c-4a7a-b388-f393531d78dc", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7 (hold)", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process pwsh -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\"")); + list.add(new CommandData("d84633fa-57cb-4965-b92e-2b164d47a6ed", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7 as Admin", ResourceType.resourceTypeFileOrDirectory, false, null, Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process pwsh -Verb RunAs -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc}'\"")); + list.add(new CommandData("1e47f558-7e01-4c69-9ffb-927d67fcbff5", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7 as Admin", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process pwsh -Verb RunAs -ArgumentList '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\"")); + list.add(new CommandData("d26d52ce-46b1-49bc-a84b-f5e5c6d7a705", PresetType.presetPlugin, OS.osWindows, "Pwsh - PowerShell 7 as Admin (hold)", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "pwsh -command \"Start-Process pwsh -Verb RunAs -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\"")); } private static void addCommandsFileBrowser(CommandDataList list) { diff --git a/plugin/uuids.txt b/plugin/uuids.txt index 3c4b1ff..c9f4f27 100644 --- a/plugin/uuids.txt +++ b/plugin/uuids.txt @@ -119,17 +119,17 @@ cd32fa5a-34d7-4551-8bd0-3aae0dc444d0 // reused: was MAC OS X clipboard before (i e6de32cc-342a-46a0-a766-ac74e7e4000d 95cacf98-9dfc-473f-b5d3-fe4961e66ae1 5ca27361-092a-4955-b8b4-0db7b6d6f1ba - -Do not use -- - -Free 6245f20a-cfd0-457b-a101-a29eeefd22b5 9fbc5abb-0b82-4fbb-9907-99d6709d0126 5543176e-e29c-4a7a-b388-f393531d78dc d84633fa-57cb-4965-b92e-2b164d47a6ed 1e47f558-7e01-4c69-9ffb-927d67fcbff5 d26d52ce-46b1-49bc-a84b-f5e5c6d7a705 + +Do not use +- + +Free dc8dd567-6ac0-49ec-8fcd-ed61e677ea3d 434dfc65-4efd-42e1-be5a-f108661e51a1 840831f3-fb2f-45f3-8db4-14007757d576