From 1c2d82dc9bd412ea601ab2550ba0b4f7d144f8e8 Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Fri, 14 Jun 2024 12:36:15 +0200 Subject: [PATCH] win: fix missing app access recommendations #369 This script fixes the recommendation property syntax in Windows script collection. This syntax error prevented the application from recommending these scripts, even though they were intended to be recommended. Affected scripts: - Disable app access to physical movement - Disable app access to eye tracking - Disable app access to human presence - Disable app access to screen capture Previously, these scripts used the unsupported 'recommended: standard' property, which was identified as incorrect after implementing stricter property validation. Related commit: 6ecfa9b954edc10401acaf5c735eec0fc9f991cd Related issue: #369 This change update these properties to the correct 'recommend: standard', resolving issues where scripts were not being recommended as expected. --- src/application/collections/windows.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index 0a756d56..1f878f7e 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -2487,7 +2487,7 @@ actions: deleteOnRevert: 'true' # Missing by default since Windows 10 Pro (≥ 22H2) and Windows 11 Pro (≥ 23H2) - name: Disable app access to physical movement - recommended: standard + recommend: standard docs: |- # refactor-with-variable: Same • Caution This script prevents Windows apps from accessing spatial perception data [1] [2]. This includes movement of the user's head, hands, motion controllers, and other tracked objects [1], @@ -2523,7 +2523,7 @@ actions: appCapability: backgroundSpatialPerception - name: Disable app access to eye tracking - recommended: standard + recommend: standard docs: |- # refactor-with-variable: Same • Caution This script prevents Windows apps from accessing the eye tracker [1] [2]. @@ -2554,7 +2554,7 @@ actions: appCapability: gazeInput - name: Disable app access to human presence - recommended: standard + recommend: standard docs: |- # refactor-with-variable: Same • Caution This script prevents Windows apps from accessing presence sensing [1] [2]. @@ -2585,7 +2585,7 @@ actions: appCapability: humanPresence - name: Disable app access to screen capture - recommended: standard # It does not affect built-in Snipping Tool + recommend: standard # It does not affect built-in Snipping Tool docs: |- # refactor-with-variable: Same • Caution This script restricts Windows apps from taking screenshots of the user's screen [1] [2] [3].