From 4d39d43836f89333967898685323bc09296486c9 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:52:11 +0100 Subject: [PATCH] fix(#1170): redundancy, reg syntax --- .../explorer/remove-context-menus/extract.yml | 24 ++++--------------- .../Context Menus/Extract/Add Extract.reg | 10 ++++---- 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/extract.yml b/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/extract.yml index 5e15160e62..23b57827f8 100644 --- a/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/extract.yml +++ b/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/extract.yml @@ -2,23 +2,7 @@ title: Remove 'Extract' from Context Menu description: Removes 'Extract' from Context Menu actions: - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked' - value: '{b8cdcb65-b1bf-4b42-9428-1dfdb7ee92af}' - type: REG_SZ - data: '' - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked' - value: '{BD472F60-27FA-11cf-B8B4-444553540000}' - type: REG_SZ - data: '' - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked' - value: '{EE07CEF5-3441-4CFB-870A-4002C724783A}' - type: REG_SZ - data: '' - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked' - value: '{D12E3394-DE4B-4777-93E9-DF0AC88F8584}' - type: REG_SZ - data: '' + - !cmd: + command: 'reg import "AtlasDesktop\4. Interface Tweaks\Context Menus\Extract\Remove Extract (default).reg"' + exeDir: true + wait: true diff --git a/src/playbook/Executables/AtlasDesktop/4. Interface Tweaks/Context Menus/Extract/Add Extract.reg b/src/playbook/Executables/AtlasDesktop/4. Interface Tweaks/Context Menus/Extract/Add Extract.reg index d8331ee33f..44515a6a5f 100644 --- a/src/playbook/Executables/AtlasDesktop/4. Interface Tweaks/Context Menus/Extract/Add Extract.reg +++ b/src/playbook/Executables/AtlasDesktop/4. Interface Tweaks/Context Menus/Extract/Add Extract.reg @@ -1,7 +1,7 @@ Windows Registry Editor Version 5.00 -[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked] -"{b8cdcb65-b1bf-4b42-9428-1dfdb7ee92af}"="" -"{BD472F60-27FA-11cf-B8B4-444553540000}"="" -"{EE07CEF5-3441-4CFB-870A-4002C724783A}"="" -"{D12E3394-DE4B-4777-93E9-DF0AC88F8584}"="" +[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked] +"{b8cdcb65-b1bf-4b42-9428-1dfdb7ee92af}"=- +"{BD472F60-27FA-11cf-B8B4-444553540000}"=- +"{EE07CEF5-3441-4CFB-870A-4002C724783A}"=- +"{D12E3394-DE4B-4777-93E9-DF0AC88F8584}"=-