Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for double-clicking on .wingetdev files for applying configuration #3860

Merged
merged 3 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 123 additions & 7 deletions src/AppInstallerCLIPackage/AppInstallerCLIPackage.wapproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,130 @@
</AppxManifest>
</ItemGroup>
<ItemGroup>
<None Include="Execute-AppxRecipe.ps1" />
<Content Include="Images\SplashScreen.scale-200_altform-colorful_theme-dark.png" />
<Content Include="Images\SplashScreen.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\SplashScreen.scale-400.png" />
<Content Include="Images\SplashScreen.scale-400_altform-colorful_theme-dark.png" />
<Content Include="Images\SplashScreen.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\StoreDisplay-150.png" />
<Content Include="Images\StoreDisplay-300.png" />
<Content Include="Images\StoreDisplay-71.png" />
<Content Include="Images\StoreLogo.scale-100.png" />
<Content Include="Images\StoreLogo.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\StoreLogo.scale-125.png" />
<Content Include="Images\StoreLogo.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\StoreLogo.scale-150.png" />
<Content Include="Images\StoreLogo.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\StoreLogo.scale-200.png" />
<Content Include="Images\StoreLogo.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\StoreLogo.scale-400.png" />
<Content Include="Images\StoreLogo.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\WideTile.scale-100.png" />
<Content Include="Images\WideTile.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\WideTile.scale-125.png" />
<Content Include="Images\WideTile.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\WideTile.scale-150.png" />
<Content Include="Images\WideTile.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\WideTile.scale-200.png" />
<Content Include="Images\WideTile.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\WideTile.scale-400.png" />
<Content Include="Images\WideTile.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.scale-100.png" />
<Content Include="Images\AppList.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.scale-125.png" />
<Content Include="Images\AppList.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.scale-150.png" />
<Content Include="Images\AppList.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.scale-200.png" />
<Content Include="Images\AppList.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.scale-400.png" />
<Content Include="Images\AppList.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\AppList.targetsize-16.png" />
<Content Include="Images\AppList.targetsize-16_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-16_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-20.png" />
<Content Include="Images\AppList.targetsize-20_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-20_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-24.png" />
<Content Include="Images\AppList.targetsize-24_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-24_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-256.png" />
<Content Include="Images\AppList.targetsize-256_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-256_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-30.png" />
<Content Include="Images\AppList.targetsize-30_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-30_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-32.png" />
<Content Include="Images\AppList.targetsize-32_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-32_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-36.png" />
<Content Include="Images\AppList.targetsize-36_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-36_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-40.png" />
<Content Include="Images\AppList.targetsize-40_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-40_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-48.png" />
<Content Include="Images\AppList.targetsize-48_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-48_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-56.png" />
<Content Include="Images\AppList.targetsize-56_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-56_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-60.png" />
<Content Include="Images\AppList.targetsize-60_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-60_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-64.png" />
<Content Include="Images\AppList.targetsize-64_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-64_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-72.png" />
<Content Include="Images\AppList.targetsize-72_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-72_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-80.png" />
<Content Include="Images\AppList.targetsize-80_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-80_altform-unplated.png" />
<Content Include="Images\AppList.targetsize-96.png" />
<Content Include="Images\AppList.targetsize-96_altform-lightunplated.png" />
<Content Include="Images\AppList.targetsize-96_altform-unplated.png" />
<Content Include="Images\LargeTile.scale-100.png" />
<Content Include="Images\LargeTile.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\LargeTile.scale-125.png" />
<Content Include="Images\LargeTile.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\LargeTile.scale-150.png" />
<Content Include="Images\LargeTile.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\LargeTile.scale-200.png" />
<Content Include="Images\LargeTile.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\LargeTile.scale-400.png" />
<Content Include="Images\LargeTile.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\MedTile.scale-100.png" />
<Content Include="Images\MedTile.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\MedTile.scale-125.png" />
<Content Include="Images\MedTile.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\MedTile.scale-150.png" />
<Content Include="Images\MedTile.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\MedTile.scale-200.png" />
<Content Include="Images\MedTile.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\MedTile.scale-400.png" />
<Content Include="Images\MedTile.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\SmallTile.scale-100.png" />
<Content Include="Images\SmallTile.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\SmallTile.scale-125.png" />
<Content Include="Images\SmallTile.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\SmallTile.scale-150.png" />
<Content Include="Images\SmallTile.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\SmallTile.scale-200.png" />
<Content Include="Images\SmallTile.scale-200_altform-colorful_theme-light.png" />
<Content Include="Images\SmallTile.scale-400.png" />
<Content Include="Images\SmallTile.scale-400_altform-colorful_theme-light.png" />
<Content Include="Images\SplashScreen.scale-100.png" />
<Content Include="Images\SplashScreen.scale-100_altform-colorful_theme-dark.png" />
<Content Include="Images\SplashScreen.scale-100_altform-colorful_theme-light.png" />
<Content Include="Images\SplashScreen.scale-125.png" />
<Content Include="Images\SplashScreen.scale-125_altform-colorful_theme-dark.png" />
<Content Include="Images\SplashScreen.scale-125_altform-colorful_theme-light.png" />
<Content Include="Images\SplashScreen.scale-150.png" />
<Content Include="Images\SplashScreen.scale-150_altform-colorful_theme-dark.png" />
<Content Include="Images\SplashScreen.scale-150_altform-colorful_theme-light.png" />
<Content Include="Images\SplashScreen.scale-200.png" />
<Content Include="Images\LockScreenLogo.scale-200.png" />
<Content Include="Images\Square150x150Logo.scale-200.png" />
<Content Include="Images\Square44x44Logo.scale-200.png" />
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Images\StoreLogo.png" />
<Content Include="Images\Wide310x150Logo.scale-200.png" />
<None Include="Execute-AppxRecipe.ps1" />
<None Include="Register-WingetdevAutoComplete.ps1" />
<PRIResource Include="Shared\Strings\en-us\winget.resw">
<SubType>Designer</SubType>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Binary file modified src/AppInstallerCLIPackage/Images/SplashScreen.scale-200.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed src/AppInstallerCLIPackage/Images/StoreLogo.png
Diff not rendered.
Diff not rendered.
20 changes: 16 additions & 4 deletions src/AppInstallerCLIPackage/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
Expand All @@ -25,7 +25,9 @@
</Resources>
<Applications>
<Application Id="WinGetDev" Executable="AppInstallerCLI\winget.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements DisplayName="WinGet Dev Client" Square150x150Logo="Images\Square150x150Logo.png" Square44x44Logo="Images\Square44x44Logo.png" Description="The WinGet dev client." BackgroundColor="#0078d7" AppListEntry="none" />
<uap:VisualElements DisplayName="WinGet Dev Client" Square150x150Logo="Images\MedTile.png" Square44x44Logo="Images\AppList.png" Description="The WinGet dev client." BackgroundColor="#0078d7" AppListEntry="none" >
<uap:DefaultTile/>
</uap:VisualElements >
<Extensions>
<uap3:Extension Category="windows.appExtensionHost">
<uap3:AppExtensionHost>
Expand All @@ -37,16 +39,26 @@
<uap5:ExecutionAlias Alias="WinGetDev.exe" />
</uap5:AppExecutionAlias>
</uap5:Extension>
<uap3:Extension Category="windows.fileTypeAssociation">
<uap3:FileTypeAssociation Name="configuration" Parameters="configure &quot;%1&quot; --wait">
<uap:SupportedFileTypes>
<uap:FileType>.wingetdev</uap:FileType>
</uap:SupportedFileTypes>
<uap:DisplayName>WinGetDev configuration file</uap:DisplayName>
</uap3:FileTypeAssociation>
</uap3:Extension>
</Extensions>
</Application>
<Application Id="WinGetComServer" Executable="WinGetServer\WindowsPackageManagerServer.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements DisplayName="WinGet Dev COM Server" Square150x150Logo="Images\Square150x150Logo.png" Square44x44Logo="Images\Square44x44Logo.png" Description="The WinGet COM server." BackgroundColor="#0078d7" AppListEntry="none" />
<uap:VisualElements DisplayName="WinGet Dev COM Server" Square150x150Logo="Images\MedTile.png" Square44x44Logo="Images\AppList.png" Description="The WinGet COM server." BackgroundColor="#0078d7" AppListEntry="none" >
<uap:DefaultTile/>
</uap:VisualElements >
<Extensions>
<uap5:Extension Category="windows.appExecutionAlias">
<uap5:AppExecutionAlias>
<uap5:ExecutionAlias Alias="WindowsPackageManagerServerDev.exe" />
</uap5:AppExecutionAlias>
</uap5:Extension>
</uap5:Extension>
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:ExeServer Executable="WinGetServer\WindowsPackageManagerServer.exe" DisplayName="Windows Package Manager Server" LaunchAndActivationPermission="O:SYG:SYD:(A;;11;;;WD)(A;;11;;;RC)(A;;11;;;AC)(A;;11;;;AN)S:P(ML;;NX;;;S-1-16-0)">
Expand Down
Loading