From 3e6f34160deab4f774d90aba28122e5b6b6f9db2 Mon Sep 17 00:00:00 2001
From: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Date: Wed, 30 Jun 2021 20:12:37 +0200
Subject: [PATCH] fix(cli.rs): run powershell kill command without profile
(#2130)
---
.changes/cli-rs-powerhsell-no-profile.md | 7 +++++++
.../bundler/src/bundle/windows/templates/main.wxs | 12 ++++++------
tooling/cli.js/src/api/dependency-manager/rust.ts | 2 +-
tooling/cli.rs/src/dev.rs | 1 +
4 files changed, 15 insertions(+), 7 deletions(-)
create mode 100644 .changes/cli-rs-powerhsell-no-profile.md
diff --git a/.changes/cli-rs-powerhsell-no-profile.md b/.changes/cli-rs-powerhsell-no-profile.md
new file mode 100644
index 000000000..3ea422d8a
--- /dev/null
+++ b/.changes/cli-rs-powerhsell-no-profile.md
@@ -0,0 +1,7 @@
+
+---
+ "cli.rs": patch
+ "cli.js": patch
+ "tauri-bundler": patch
+---
+Run powershell commands with `-NoProfile` flag
diff --git a/tooling/bundler/src/bundle/windows/templates/main.wxs b/tooling/bundler/src/bundle/windows/templates/main.wxs
index c2ce6727a..1687b385e 100644
--- a/tooling/bundler/src/bundle/windows/templates/main.wxs
+++ b/tooling/bundler/src/bundle/windows/templates/main.wxs
@@ -31,12 +31,12 @@
-
+
{{#if license}}
{{/if}}
-
+
@@ -111,7 +111,7 @@
-