From abd3718409666a0fc2133b572ae872ff89f4ba1c Mon Sep 17 00:00:00 2001 From: Kristen Schau <47155823+krschau@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:09:09 -0800 Subject: [PATCH] Update widget asset locations (#2200) --- CoreWidgetProvider/CoreWidgetProvider.csproj | 10 +- .../Assets/{ => icons}/cpu_icon_dark.png | Bin .../Assets/{ => icons}/cpu_icon_light.png | Bin .../Assets/{ => icons}/gpu_icon_dark.png | Bin .../Assets/{ => icons}/gpu_icon_light.png | Bin .../Assets/{ => icons}/mem_icon_dark.png | Bin .../Assets/{ => icons}/mem_icon_light.png | Bin .../Assets/{ => icons}/net_icon_dark.png | Bin .../Assets/{ => icons}/net_icon_light.png | Bin .../{ => icons}/ssh_keychain_icon_dark.png | Bin .../{ => icons}/ssh_keychain_icon_light.png | Bin .../Assets/screenshots}/CPUScreenshotDark.png | Bin .../screenshots}/CPUScreenshotLight.png | Bin .../Assets/screenshots}/GPUScreenshotDark.png | Bin .../screenshots}/GPUScreenshotLight.png | Bin .../screenshots}/MemoryScreenshotDark.png | Bin .../screenshots}/MemoryScreenshotLight.png | Bin .../screenshots}/NetworkScreenshotDark.png | Bin .../screenshots}/NetworkScreenshotLight.png | Bin .../Assets/screenshots}/SSHScreenshotDark.png | Bin .../screenshots}/SSHScreenshotLight.png | Bin src/DevHome.csproj | 215 +++++++++--------- src/Package.appxmanifest | 40 ++-- 23 files changed, 126 insertions(+), 139 deletions(-) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/cpu_icon_dark.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/cpu_icon_light.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/gpu_icon_dark.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/gpu_icon_light.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/mem_icon_dark.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/mem_icon_light.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/net_icon_dark.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/net_icon_light.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/ssh_keychain_icon_dark.png (100%) rename CoreWidgetProvider/Widgets/Assets/{ => icons}/ssh_keychain_icon_light.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/CPUScreenshotDark.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/CPUScreenshotLight.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/GPUScreenshotDark.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/GPUScreenshotLight.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/MemoryScreenshotDark.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/MemoryScreenshotLight.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/NetworkScreenshotDark.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/NetworkScreenshotLight.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/SSHScreenshotDark.png (100%) rename {src/Assets/Preview => CoreWidgetProvider/Widgets/Assets/screenshots}/SSHScreenshotLight.png (100%) diff --git a/CoreWidgetProvider/CoreWidgetProvider.csproj b/CoreWidgetProvider/CoreWidgetProvider.csproj index 023fe7c6e1..b854b02181 100644 --- a/CoreWidgetProvider/CoreWidgetProvider.csproj +++ b/CoreWidgetProvider/CoreWidgetProvider.csproj @@ -1,5 +1,5 @@  - + Exe @@ -37,11 +37,8 @@ Always - Always + Always - - - Always @@ -57,9 +54,6 @@ - - Always - Always diff --git a/CoreWidgetProvider/Widgets/Assets/cpu_icon_dark.png b/CoreWidgetProvider/Widgets/Assets/icons/cpu_icon_dark.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/cpu_icon_dark.png rename to CoreWidgetProvider/Widgets/Assets/icons/cpu_icon_dark.png diff --git a/CoreWidgetProvider/Widgets/Assets/cpu_icon_light.png b/CoreWidgetProvider/Widgets/Assets/icons/cpu_icon_light.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/cpu_icon_light.png rename to CoreWidgetProvider/Widgets/Assets/icons/cpu_icon_light.png diff --git a/CoreWidgetProvider/Widgets/Assets/gpu_icon_dark.png b/CoreWidgetProvider/Widgets/Assets/icons/gpu_icon_dark.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/gpu_icon_dark.png rename to CoreWidgetProvider/Widgets/Assets/icons/gpu_icon_dark.png diff --git a/CoreWidgetProvider/Widgets/Assets/gpu_icon_light.png b/CoreWidgetProvider/Widgets/Assets/icons/gpu_icon_light.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/gpu_icon_light.png rename to CoreWidgetProvider/Widgets/Assets/icons/gpu_icon_light.png diff --git a/CoreWidgetProvider/Widgets/Assets/mem_icon_dark.png b/CoreWidgetProvider/Widgets/Assets/icons/mem_icon_dark.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/mem_icon_dark.png rename to CoreWidgetProvider/Widgets/Assets/icons/mem_icon_dark.png diff --git a/CoreWidgetProvider/Widgets/Assets/mem_icon_light.png b/CoreWidgetProvider/Widgets/Assets/icons/mem_icon_light.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/mem_icon_light.png rename to CoreWidgetProvider/Widgets/Assets/icons/mem_icon_light.png diff --git a/CoreWidgetProvider/Widgets/Assets/net_icon_dark.png b/CoreWidgetProvider/Widgets/Assets/icons/net_icon_dark.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/net_icon_dark.png rename to CoreWidgetProvider/Widgets/Assets/icons/net_icon_dark.png diff --git a/CoreWidgetProvider/Widgets/Assets/net_icon_light.png b/CoreWidgetProvider/Widgets/Assets/icons/net_icon_light.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/net_icon_light.png rename to CoreWidgetProvider/Widgets/Assets/icons/net_icon_light.png diff --git a/CoreWidgetProvider/Widgets/Assets/ssh_keychain_icon_dark.png b/CoreWidgetProvider/Widgets/Assets/icons/ssh_keychain_icon_dark.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/ssh_keychain_icon_dark.png rename to CoreWidgetProvider/Widgets/Assets/icons/ssh_keychain_icon_dark.png diff --git a/CoreWidgetProvider/Widgets/Assets/ssh_keychain_icon_light.png b/CoreWidgetProvider/Widgets/Assets/icons/ssh_keychain_icon_light.png similarity index 100% rename from CoreWidgetProvider/Widgets/Assets/ssh_keychain_icon_light.png rename to CoreWidgetProvider/Widgets/Assets/icons/ssh_keychain_icon_light.png diff --git a/src/Assets/Preview/CPUScreenshotDark.png b/CoreWidgetProvider/Widgets/Assets/screenshots/CPUScreenshotDark.png similarity index 100% rename from src/Assets/Preview/CPUScreenshotDark.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/CPUScreenshotDark.png diff --git a/src/Assets/Preview/CPUScreenshotLight.png b/CoreWidgetProvider/Widgets/Assets/screenshots/CPUScreenshotLight.png similarity index 100% rename from src/Assets/Preview/CPUScreenshotLight.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/CPUScreenshotLight.png diff --git a/src/Assets/Preview/GPUScreenshotDark.png b/CoreWidgetProvider/Widgets/Assets/screenshots/GPUScreenshotDark.png similarity index 100% rename from src/Assets/Preview/GPUScreenshotDark.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/GPUScreenshotDark.png diff --git a/src/Assets/Preview/GPUScreenshotLight.png b/CoreWidgetProvider/Widgets/Assets/screenshots/GPUScreenshotLight.png similarity index 100% rename from src/Assets/Preview/GPUScreenshotLight.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/GPUScreenshotLight.png diff --git a/src/Assets/Preview/MemoryScreenshotDark.png b/CoreWidgetProvider/Widgets/Assets/screenshots/MemoryScreenshotDark.png similarity index 100% rename from src/Assets/Preview/MemoryScreenshotDark.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/MemoryScreenshotDark.png diff --git a/src/Assets/Preview/MemoryScreenshotLight.png b/CoreWidgetProvider/Widgets/Assets/screenshots/MemoryScreenshotLight.png similarity index 100% rename from src/Assets/Preview/MemoryScreenshotLight.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/MemoryScreenshotLight.png diff --git a/src/Assets/Preview/NetworkScreenshotDark.png b/CoreWidgetProvider/Widgets/Assets/screenshots/NetworkScreenshotDark.png similarity index 100% rename from src/Assets/Preview/NetworkScreenshotDark.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/NetworkScreenshotDark.png diff --git a/src/Assets/Preview/NetworkScreenshotLight.png b/CoreWidgetProvider/Widgets/Assets/screenshots/NetworkScreenshotLight.png similarity index 100% rename from src/Assets/Preview/NetworkScreenshotLight.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/NetworkScreenshotLight.png diff --git a/src/Assets/Preview/SSHScreenshotDark.png b/CoreWidgetProvider/Widgets/Assets/screenshots/SSHScreenshotDark.png similarity index 100% rename from src/Assets/Preview/SSHScreenshotDark.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/SSHScreenshotDark.png diff --git a/src/Assets/Preview/SSHScreenshotLight.png b/CoreWidgetProvider/Widgets/Assets/screenshots/SSHScreenshotLight.png similarity index 100% rename from src/Assets/Preview/SSHScreenshotLight.png rename to CoreWidgetProvider/Widgets/Assets/screenshots/SSHScreenshotLight.png diff --git a/src/DevHome.csproj b/src/DevHome.csproj index 4ffdcf19c2..e7bb7b2d2c 100644 --- a/src/DevHome.csproj +++ b/src/DevHome.csproj @@ -2,131 +2,124 @@ - - - WinExe - DevHome - Assets/DevHome.ico - app.manifest - x86;x64;arm64 - win10-x86;win10-x64;win10-arm64 - Properties\PublishProfiles\win10-$(Platform).pubxml - enable - enable - true - true - true - Dev - $(DefineConstants);DISABLE_XAML_GENERATED_MAIN - - - - - - - - - - - - - - - - - - + - - - + + WinExe + DevHome + Assets/DevHome.ico + app.manifest + x86;x64;arm64 + win10-x86;win10-x64;win10-arm64 + Properties\PublishProfiles\win10-$(Platform).pubxml + enable + enable + true + true + true + Dev + $(DefineConstants);DISABLE_XAML_GENERATED_MAIN + - - - - - all - runtime; build; native; contentfiles; analyzers - - - - - contentFiles - - + + + + + + + - - - - - - - - - - - - Always - - - Always - - - MSBuild:Compile - - - $(DefaultXamlRuntime) - - + + + - - - + + + + + all + runtime; build; native; contentfiles; analyzers + + + + + contentFiles + + - - true - + + + + + + + + + - - $(DefineConstants);CANARY_BUILD - $(DefineConstants);STABLE_BUILD - + + + Always + + + Always + + + MSBuild:Compile + + + $(DefaultXamlRuntime) + + + + + + - - - - - - - - - + + + + + + + + - + - - - runtimes\win\lib\net6.0\ - + + + runtimes\win\lib\net6.0\ + - - - ref - - - $(ModulePath)Modules - - + + + ref + + + $(ModulePath)Modules + + - - - %(AdditionalPackageFile.PackagePath)\%(AdditionalPackageFile.RecursiveDir)%(AdditionalPackageFile.Filename)%(AdditionalPackageFile.Extension) - - - + + + %(AdditionalPackageFile.PackagePath)\%(AdditionalPackageFile.RecursiveDir)%(AdditionalPackageFile.Filename)%(AdditionalPackageFile.Extension) + + + diff --git a/src/Package.appxmanifest b/src/Package.appxmanifest index 100954e882..a3722553ce 100644 --- a/src/Package.appxmanifest +++ b/src/Package.appxmanifest @@ -99,17 +99,17 @@ - + - + - + - + @@ -129,17 +129,17 @@ - + - + - + - + @@ -159,17 +159,17 @@ - + - + - + - + @@ -189,17 +189,17 @@ - + - + - + - + @@ -219,17 +219,17 @@ - + - + - + - +