Make the sample WSL_POST_BUILD_COMMAND more resilient (#13652)
Blue committed
Oct 30, 2025 at 10:25 UTC
64160a40f0dd9d6d78e407fd435a44e261f0ee5a
1 file changed
+1
-1
UserConfig.cmake.sample
+1
-1
@@ -30,7 +30,7 @@ message(STATUS "Loading user configuration")
30
# set(WSL_BUILD_THIN_PACKAGE true)
31
32
# # Uncomment to install the package as part of the build
33
-# set(WSL_POST_BUILD_COMMAND "powershell;./tools/deploy/deploy-to-host.ps1")
33
+# set(WSL_POST_BUILD_COMMAND "powershell;-ExecutionPolicy;Bypass;-NoProfile;-NonInteractive;./tools/deploy/deploy-to-host.ps1")
34
35
# # Uncomment to reduce the verbosity of the appx package build
36
# set(WSL_SILENT_APPX_BUILD true)
\ No newline at end of file