-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support completely custom AppxManifest.xml (#8609)
- Loading branch information
Showing
9 changed files
with
303 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"app-builder-lib": minor | ||
--- | ||
|
||
feat: support completely custom AppxManifest.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--suppress XmlUnusedNamespaceDeclaration --> | ||
<Package | ||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" | ||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" | ||
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" | ||
xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2" | ||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" | ||
> | ||
<!-- use single quotes to avoid double quotes escaping in the publisher value --> | ||
<Identity Name="${identityName}" | ||
ProcessorArchitecture="${arch}" | ||
Publisher='${publisher}' | ||
Version="${version}" /> | ||
<Properties> | ||
<DisplayName>${displayName}</DisplayName> | ||
<PublisherDisplayName>${publisherDisplayName}</PublisherDisplayName> | ||
<Description>${description}</Description> | ||
<Logo>${logo}</Logo> | ||
</Properties> | ||
<Resources> | ||
${resourceLanguages} | ||
</Resources> | ||
<Dependencies> | ||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="${minVersion}" MaxVersionTested="${maxVersionTested}" /> | ||
</Dependencies> | ||
<Capabilities> | ||
<Capability Name="internetClient"/> | ||
<Capability Name="privateNetworkClientServer"/> | ||
<rescap:Capability Name="runFullTrust"/> | ||
</Capabilities> | ||
<Applications> | ||
<Application Id="${applicationId}" Executable="${executable}" EntryPoint="Windows.FullTrustApplication"> | ||
<uap:VisualElements | ||
BackgroundColor="${backgroundColor}" | ||
DisplayName="${displayName}" | ||
Square150x150Logo="${square150x150Logo}" | ||
Square44x44Logo="${square44x44Logo}" | ||
Description="${description}"> | ||
${lockScreen} | ||
${defaultTile} | ||
${splashScreen} | ||
</uap:VisualElements> | ||
${extensions} | ||
</Application> | ||
</Applications> | ||
</Package> |
50 changes: 50 additions & 0 deletions
50
test/fixtures/test-app-one/build/custom-template-manifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--suppress XmlUnusedNamespaceDeclaration --> | ||
<Package | ||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" | ||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" | ||
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" | ||
xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2" | ||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"> | ||
<!-- use single quotes to avoid double quotes escaping in the publisher value --> | ||
<Identity Name="${identityName}" | ||
ProcessorArchitecture="${arch}" | ||
Publisher='${publisher}' | ||
Version="${version}" /> | ||
<Properties> | ||
<DisplayName>${displayName}</DisplayName> | ||
<PublisherDisplayName>${publisherDisplayName}</PublisherDisplayName> | ||
<Description>${description}</Description> | ||
<Logo>${logo}</Logo> | ||
</Properties> | ||
<Resources> | ||
${resourceLanguages} | ||
</Resources> | ||
<Dependencies> | ||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="${minVersion}" MaxVersionTested="${maxVersionTested}" /> | ||
</Dependencies> | ||
<Capabilities> | ||
<rescap:Capability Name="runFullTrust"/> | ||
</Capabilities> | ||
<Applications> | ||
<Application Id="${applicationId}" Executable="${executable}" EntryPoint="Windows.FullTrustApplication"> | ||
<uap:VisualElements | ||
BackgroundColor="${backgroundColor}" | ||
DisplayName="${displayName}" | ||
Square150x150Logo="${square150x150Logo}" | ||
Square44x44Logo="${square44x44Logo}" | ||
Description="${description}"> | ||
${lockScreen} | ||
${defaultTile} | ||
${splashScreen} | ||
</uap:VisualElements> | ||
<!-- <Extensions> | ||
<desktop2:Extension Category="windows.firewallRules"> | ||
<desktop2:FirewallRules Executable="${executable}"> | ||
<desktop2:Rule Direction="in" Profile="private" IPProtocol="TCP" LocalPortMin="22022" LocalPortMax="24044"/> | ||
</desktop2:FirewallRules> | ||
</desktop2:Extension> | ||
</Extensions> --> | ||
</Application> | ||
</Applications> | ||
</Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters