commit a6d02acc09139d937ac99a7082b38c7934d83242
parent e66cbc901d87fee5386bc6b75ea2a5c2f0a697bf
Author: Bill ZHANG <36790218+Lutra-Fs@users.noreply.github.com>
Date: Fri, 3 Mar 2023 04:37:25 +1100
fix default install root location (#3034)
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/Settings.md b/doc/Settings.md
@@ -121,6 +121,16 @@ The `architectures` behavior affects what architectures will be selected when in
},
```
+### Default install root
+
+The `defaultInstallRoot` affects the install location when a package requires one. This can be overridden by the `--location` parameter. This setting is only used when a package manifest includes `InstallLocationRequired`, and the actual location is obtained by appending the package ID to the root.
+
+```json
+ "installBehavior": {
+ "defaultInstallRoot": "C:/installRoot"
+ },
+```
+
## Uninstall Behavior
The `uninstallBehavior` settings affect the default behavior of uninstalling (where applicable) packages.
@@ -135,16 +145,6 @@ The `purgePortablePackage` behavior affects the default behavior for uninstallin
},
```
-### Default install root
-
-The `defaultInstallRoot` affects the install location when a package requires one. This can be overridden by the `--location` parameter. This setting is only used when a package manifest includes `InstallLocationRequired`, and the actual location is obtained by appending the package ID to the root.
-
-```json
- "installBehavior": {
- "defaultInstallRoot": "C:/installRoot"
- },
-```
-
## Telemetry
The `telemetry` settings control whether winget writes ETW events that may be sent to Microsoft on a default installation of Windows.