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: 6ecfa9b954
Related issue: #369

This change update these properties to the correct 'recommend:
standard', resolving issues where scripts were not being recommended as
expected.
This commit is contained in:
undergroundwires
2024-06-14 12:36:15 +02:00
parent 6ecfa9b954
commit 1c2d82dc9b

View File

@@ -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].