Play with Desktop Bridge app extensions (i.e. context menu verbs)

This commit is contained in:
Reinhard Pointner 2017-01-10 17:05:02 +08:00
parent b4e9e67f6c
commit 54c875c38d
1 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
@ -49,6 +50,23 @@
<desktop:ExecutionAlias Alias="filebot.launcher.exe" />
</uap3:AppExecutionAlias>
</uap3:Extension>
<uap3:Extension Category="windows.fileTypeAssociation">
<uap3:FileTypeAssociation Name="FileBot.MediaFiles">
<uap:Logo>Assets\StoreLogo.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType MultiSelectModel="Player">.avi</uap:FileType>
<uap:FileType MultiSelectModel="Player">.mkv</uap:FileType>
<uap:FileType MultiSelectModel="Player">.mp4</uap:FileType>
<uap:FileType MultiSelectModel="Player">.mov</uap:FileType>
<uap:FileType MultiSelectModel="Player">.wmv</uap:FileType>
<uap:FileType MultiSelectModel="Player">.srt</uap:FileType>
</uap:SupportedFileTypes>
<uap2:SupportedVerbs>
<uap3:Verb Id="Mode.Rename" Parameters="--mode Rename &quot;%1&quot;">Rename</uap3:Verb>
<uap3:Verb Id="Mode.SFV" Extended="true" Parameters="--mode SFV &quot;%1&quot;">Calculate Hash</uap3:Verb>
</uap2:SupportedVerbs>
</uap3:FileTypeAssociation>
</uap3:Extension>
</Extensions>
</Application>
<Application Id="@{package.identifier}.Command" Executable="filebot.exe" EntryPoint="Windows.FullTrustApplication">