summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 21a0a7f9887..27751952c77 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -2067,8 +2067,8 @@ class UWPProcessController(RemoteProcessController):
print("Registering application to run from layout...")
dependenciesDir = os.path.join(os.path.dirname(package), "Dependencies", arch)
for f in filter(lambda f: f.endswith(".appx"), os.listdir(dependenciesDir)):
- run("powershell Add-AppxPackage -Path \"{0}\"".format(os.path.join(dependenciesDir, f)))
- run("powershell Add-AppxPackage -Register \"{0}/AppxManifest.xml\"".format(layout))
+ run("powershell Add-AppxPackage -Path \"{0}\" -ForceApplicationShutdown".format(os.path.join(dependenciesDir, f)))
+ run("powershell Add-AppxPackage -Register \"{0}/AppxManifest.xml\" -ForceApplicationShutdown".format(layout))
run("CheckNetIsolation LoopbackExempt -a -n={0}".format(self.appUserModelId))