diff options
author | Jose <jose@zeroc.com> | 2017-04-19 14:20:52 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-19 14:20:52 +0200 |
commit | bcb6f4ffc617f5715b44ca128ef0b314786e0ba8 (patch) | |
tree | 334e1353ada32ecf7f3677c4cb4c3548a0f28068 /scripts/Util.py | |
parent | Fixed Util.py bug and ensure UDP tests uses loopback on Windows (diff) | |
download | ice-bcb6f4ffc617f5715b44ca128ef0b314786e0ba8.tar.bz2 ice-bcb6f4ffc617f5715b44ca128ef0b314786e0ba8.tar.xz ice-bcb6f4ffc617f5715b44ca128ef0b314786e0ba8.zip |
Use -ForceApplicationShutdown to ensure UWP controller is shutdown on install
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 4 |
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)) |