Skip to content

Commit

Permalink
Merge pull request #320 from FBNitro/master
Browse files Browse the repository at this point in the history
Add Preference to support a custom Windows Start Page
  • Loading branch information
EddyVerbruggen authored Jul 30, 2020
2 parents 80a851d + ff35b53 commit 3d110b3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@

<!-- windows8 -->
<platform name="windows8">
<preference name="WINDOWS_START_PAGE" default="www/index.html" />

<config-file target="package.appxmanifest" parent="/Package/Applications/Application/Extensions">
<Extension Category="windows.protocol" StartPage="www/index.html">
<Extension Category="windows.protocol" StartPage="$WINDOWS_START_PAGE">
<Protocol Name="$URL_SCHEME" />
</Extension>
</config-file>
Expand All @@ -96,18 +98,20 @@

<!-- windows -->
<platform name="windows">
<preference name="WINDOWS_START_PAGE" default="www/index.html" />

<config-file target="package.windows.appxmanifest" parent="/Package/Applications/Application/Extensions">
<uap:Extension Category="windows.protocol" StartPage="www/index.html">
<uap:Extension Category="windows.protocol" StartPage="$WINDOWS_START_PAGE">
<uap:Protocol Name="$URL_SCHEME" />
</uap:Extension>
</config-file>
<config-file target="package.windows10.appxmanifest" parent="/Package/Applications/Application/Extensions">
<uap:Extension Category="windows.protocol" StartPage="www/index.html">
<uap:Extension Category="windows.protocol" StartPage="$WINDOWS_START_PAGE">
<uap:Protocol Name="$URL_SCHEME" />
</uap:Extension>
</config-file>
<config-file target="package.phone.appxmanifest" parent="/Package/Applications/Application/Extensions">
<uap:Extension Category="windows.protocol" StartPage="www/index.html">
<uap:Extension Category="windows.protocol" StartPage="$WINDOWS_START_PAGE">
<uap:Protocol Name="$URL_SCHEME" />
</uap:Extension>
</config-file>
Expand Down

0 comments on commit 3d110b3

Please sign in to comment.