feat(packaging): register file associations in msix

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2023-06-18 22:36:20 -04:00
parent 84498285c0
commit 76cc8a33d4
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -2,11 +2,9 @@
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:virtualization="http://schemas.microsoft.com/appx/manifest/virtualization/windows10"
xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
IgnorableNamespaces="rescap virtualization desktop6">
xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2"
xmlns:desktop5="http://schemas.microsoft.com/appx/manifest/desktop/windows10/5">
<Identity Name="github.PrismLauncher.PrismLauncher" Version="PRISM_VERSION_REPLACEME" Publisher="CN=PrismLauncher, O=PrismLauncher, L=MyCity, S=MyState, C=MyCountry" ProcessorArchitecture="PRISM_ARCH_REPLACEME" />
<Properties>
<DisplayName>Prism Launcher</DisplayName>
@ -48,6 +46,23 @@
Executable="prismlauncher.exe"
EntryPoint="windows.fullTrustApplication"
>
<Extensions>
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation
Name="prismlauncher_fileassociations"
desktop2:AllowSilentDefaultTakeOver="true"
desktop5:ThumbnailTypeOverlay="prismlauncher_44x44.png">
<uap:DisplayName>Prism Launcher</uap:DisplayName>
<uap:InfoTip>Import into Prism Launcher</uap:InfoTip>
<uap:SupportedFileTypes>
<uap:FileType>.zip</uap:FileType>
<uap:FileType>.mrpack</uap:FileType>
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>
</Extensions>
<uap:VisualElements
DisplayName="Prism Launcher"
Description="A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once"