From 8cb134f56b0c678c80b8a57183f5820cd2f0fba1 Mon Sep 17 00:00:00 2001
From: Arjun Balgovind <32061677+arjunbalgovind@users.noreply.github.com>
Date: Fri, 1 May 2020 13:17:30 -0700
Subject: [PATCH] Add post-build event for publishing SettingsV2 (#2473)
* Added post build script
* Added comments
* Added unset statement
* Added debug checks
* added more debug statements
* Added dir and cat statements to check pipeline output
* revert installer change
* Moved nuget package reference from update to include
* Removed debug cat command
* Removed debugging statements
* Added build script for launcher
* Added launcher scripts
* Removed launcher scripts
* Changed taskkill to throw error
* Added back old config properties
---
installer/PowerToysSetup/Product.wxs | 4 ++--
src/common/interop/interop.h | 4 ++--
.../Microsoft.PowerToys.Settings.UI.Runner.csproj | 8 +++++---
.../Microsoft.PowerToys.Settings.UI.csproj | 15 ++++++++-------
src/modules/launcher/Directory.Build.targets | 9 +++------
.../PowerLauncher.UI/PowerLauncher.UI.csproj | 2 +-
.../launcher/PowerLauncher/PowerLauncher.csproj | 13 ++++++-------
src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj | 4 ++--
8 files changed, 29 insertions(+), 30 deletions(-)
diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs
index 0a2397117a..95c3a8a18d 100644
--- a/installer/PowerToysSetup/Product.wxs
+++ b/installer/PowerToysSetup/Product.wxs
@@ -583,6 +583,7 @@
+
@@ -718,11 +719,10 @@
-
+
-
diff --git a/src/common/interop/interop.h b/src/common/interop/interop.h
index 9690d50880..07d5ac517f 100644
--- a/src/common/interop/interop.h
+++ b/src/common/interop/interop.h
@@ -1,7 +1,7 @@
#pragma once
-#include
-#include
+#include "..\keyboard_layout.h"
+#include "..\two_way_pipe_message_ipc.h"
#include
#include
#include
diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Runner/Microsoft.PowerToys.Settings.UI.Runner.csproj b/src/core/Microsoft.PowerToys.Settings.UI.Runner/Microsoft.PowerToys.Settings.UI.Runner.csproj
index f47464c1ca..5eea92d8c5 100644
--- a/src/core/Microsoft.PowerToys.Settings.UI.Runner/Microsoft.PowerToys.Settings.UI.Runner.csproj
+++ b/src/core/Microsoft.PowerToys.Settings.UI.Runner/Microsoft.PowerToys.Settings.UI.Runner.csproj
@@ -18,6 +18,7 @@
x64
icon.ico
+ win-x64
false
false
@@ -63,6 +64,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
@@ -70,8 +72,8 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj b/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj
index cf6096972f..136f08e92a 100644
--- a/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj
+++ b/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj
@@ -2,7 +2,7 @@
- Debug
+ Debug
x64
{A7D5099E-F0FD-4BF3-8522-5A682759F915}
AppContainerExe
@@ -116,6 +116,7 @@
+
@@ -239,11 +240,11 @@
false
-
\ No newline at end of file
diff --git a/src/modules/launcher/Directory.Build.targets b/src/modules/launcher/Directory.Build.targets
index cba92d64e1..3aa2a46b34 100644
--- a/src/modules/launcher/Directory.Build.targets
+++ b/src/modules/launcher/Directory.Build.targets
@@ -1,14 +1,11 @@
-
-
+
+
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/PowerLauncher.UI/PowerLauncher.UI.csproj b/src/modules/launcher/PowerLauncher.UI/PowerLauncher.UI.csproj
index 1cebeb6ee4..298ae7cc07 100644
--- a/src/modules/launcher/PowerLauncher.UI/PowerLauncher.UI.csproj
+++ b/src/modules/launcher/PowerLauncher.UI/PowerLauncher.UI.csproj
@@ -2,7 +2,7 @@
- Debug
+ Debug
x64
{4A3DE70C-684C-410D-B851-C23B6DAEDF16}
AppContainerExe
diff --git a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
index f80d2a7e79..7397c7f1d7 100644
--- a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
+++ b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
@@ -7,7 +7,8 @@
true
PowerLauncher.App
Resources\placeholderLauncher.ico
- app.manifest
+ app.manifest
+ win-x64
false
false
x64
@@ -16,7 +17,7 @@
- ..\..\..\..\x64\Debug\modules\launcher\
+ ..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\
DEBUG;TRACE
full
x64
@@ -29,7 +30,7 @@
- ..\..\..\..\x64\Release\modules\launcher\
+ ..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\
TRACE;RELEASE
true
pdbonly
@@ -73,7 +74,8 @@
-
+
+
@@ -191,7 +193,4 @@
-
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj b/src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj
index db5af81b55..9a32103df9 100644
--- a/src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj
+++ b/src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj
@@ -64,8 +64,8 @@
-
-
+
+
\ No newline at end of file