Skip to content

Commit a143751

Browse files
committed
Merge branch 'ms-store-package'
2 parents db2f427 + 013e8d0 commit a143751

12 files changed

+62
-8
lines changed

Build MSIX from release.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ move "WingetUI Widgets.msix" ..\..\..\..\
2828

2929
cd ..\..\..\..\
3030

31-
"Y:\- Signing\signtool-x64\signtool.exe" sign /v /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "Y:\- Signing\azure.codesigning.client\x64\Azure.CodeSigning.Dlib.dll" /dmdf "Y:\- Signing\metadata.json" "WingetUI Widgets.msix"
31+
rem "Y:\- Signing\signtool-x64\signtool.exe" sign /v /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "Y:\- Signing\azure.codesigning.client\x64\Azure.CodeSigning.Dlib.dll" /dmdf "Y:\- Signing\metadata.json" "WingetUI Widgets.msix"
3232

3333
del "WingetUI Widgets Installer.msix"
3434
move "WingetUI Widgets.msix" "WingetUI Widgets Installer.msix"
Loading
Loading
5.19 KB
Loading

src/Package/Package.appxmanifest

+34-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
<!-- Name="9b0c4abb-ca72-42ec-936a-02d4830a14a9" -->
1313
<Identity
14-
Name="34D3940F-84D6-47C5-B446-32D6865D8852"
15-
Publisher="CN=Marti Climent, O=Marti Climent, L=Barcelona, C=ES"
16-
Version="0.2.0.0" />
14+
Name="9932MartCliment.WingetUIWidgets"
15+
Publisher="CN=7054F010-7BE3-4163-B64E-D51DF58CF867"
16+
Version="0.3.0.0" />
1717

1818
<Properties>
1919
<DisplayName>WingetUI Widgets (Preview)</DisplayName>
@@ -278,6 +278,37 @@
278278
</Definition>
279279

280280

281+
282+
<Definition Id="updates_powershell"
283+
DisplayName="PowerShell updates"
284+
Description="PowerShell modules that can be updated"
285+
AllowMultiple="true">
286+
<Capabilities>
287+
<Capability>
288+
<Size Name="medium" />
289+
</Capability>
290+
<Capability>
291+
<Size Name="large" />
292+
</Capability>
293+
</Capabilities>
294+
<ThemeResources>
295+
<Icons>
296+
<Icon Path="Images\powershell_color.png" />
297+
</Icons>
298+
<DarkMode>
299+
<Screenshots>
300+
<Screenshot Path="Images\WidgetCovers\powershell_dark.png" />
301+
</Screenshots>
302+
</DarkMode>
303+
<LightMode>
304+
<Screenshots>
305+
<Screenshot Path="Images\WidgetCovers\powershell_light.png" />
306+
</Screenshots>
307+
</LightMode>
308+
</ThemeResources>
309+
</Definition>
310+
311+
281312
</Definitions>
282313
</WidgetProvider>
283314
</uap3:Properties>
Binary file not shown.

src/Package/WingetUIWidgetProviderPackage.wapproj

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<PropertyGroup>
5353
<ProjectGuid>0cb7bf44-2619-4597-82c4-75f513345eba</ProjectGuid>
5454
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
55-
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
55+
<TargetPlatformMinVersion>10.0.22000.0</TargetPlatformMinVersion>
5656
<DefaultLanguage>en-US</DefaultLanguage>
5757
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
5858
<NoWarn>$(NoWarn);NU1702</NoWarn>
@@ -135,6 +135,7 @@
135135
<Content Include="Images\LargeTile.scale-400.png" />
136136
<Content Include="Images\node_color.png" />
137137
<Content Include="Images\pip_color.png" />
138+
<Content Include="Images\powershell_color.png" />
138139
<Content Include="Images\scoop_color.png" />
139140
<Content Include="Images\SmallTile.scale-100.png" />
140141
<Content Include="Images\SmallTile.scale-125.png" />
@@ -156,6 +157,8 @@
156157
<Content Include="Images\WidgetCovers\npm_light.png" />
157158
<Content Include="Images\WidgetCovers\pip_dark.png" />
158159
<Content Include="Images\WidgetCovers\pip_light.png" />
160+
<Content Include="Images\WidgetCovers\powershell_dark.png" />
161+
<Content Include="Images\WidgetCovers\powershell_light.png" />
159162
<Content Include="Images\WidgetCovers\scoop_dark.png" />
160163
<Content Include="Images\WidgetCovers\scoop_light.png" />
161164
<Content Include="Images\WidgetCovers\winget_dark.png" />

src/Templates.cs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class Widgets
2727
public const string Pip = "updates_pip";
2828
public const string Npm = "updates_npm";
2929
public const string Dotnet = "updates_dotnet";
30+
public const string Powershell = "updates_powershell";
3031
}
3132

3233
public class Templates

src/WingetUIConnector.cs

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ internal class WingetUIConnector
4343
{Widgets.Pip, "Pip"},
4444
{Widgets.Npm, "Npm"},
4545
{Widgets.Dotnet, ".NET Tool"},
46+
{Widgets.Powershell, "PowerShell"},
4647
};
4748

4849
public WingetUIConnector()
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<Platforms>AnyCPU;x64</Platforms>
9+
<SignAssembly>False</SignAssembly>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231115000" />
14+
</ItemGroup>
15+
16+
</Project>

src/WingetUIWidgetProvider.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<Platforms>AnyCPU;x64</Platforms>
9+
<SignAssembly>False</SignAssembly>
810
</PropertyGroup>
911

1012
<ItemGroup>
11-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
13+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231115000" />
1214
</ItemGroup>
1315

1416
</Project>

src/WingetUIWidgetProvider.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Global
3737
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|ARM.Build.0 = Release|Any CPU
3838
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|ARM64.ActiveCfg = Release|Any CPU
3939
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|ARM64.Build.0 = Release|Any CPU
40-
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x64.ActiveCfg = Release|Any CPU
41-
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x64.Build.0 = Release|Any CPU
40+
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x64.ActiveCfg = Release|x64
41+
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x64.Build.0 = Release|x64
4242
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x86.ActiveCfg = Release|Any CPU
4343
{D8495D3C-3169-4A08-B0C4-F5EEE5117C0E}.Release|x86.Build.0 = Release|Any CPU
4444
{0CB7BF44-2619-4597-82C4-75F513345EBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU

0 commit comments

Comments
 (0)