Skip to content

Commit

Permalink
fix(scr/cli/templates.hh): bring back win_logo
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Oct 9, 2023
1 parent 869ab0b commit c5d0e08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions api/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Key | Default Value | Description
:--- | :--- | :---
cmd | | The command to execute to spawn the “back-end” process.
icon | | The icon to use for identifying your app on Windows.
logo | | The icon for the app package manifest
pfx | | A relative path to the pfx file used for signing.

# Section `window`
Expand Down
1 change: 0 additions & 1 deletion src/cli/cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,6 @@ int main (const int argc, const char* argv[]) {
String additionalBuildArgs = "";

bool flagRunUserBuildOnly = optionsWithoutValue.find("--only-build") != optionsWithoutValue.end() || equal(rc["build_only"], "true");
bool flagAppStore = optionsWithoutValue.find("-s") != optionsWithoutValue.end() || equal(rc["build_app_store"], "true");
bool flagCodeSign = optionsWithoutValue.find("-c") != optionsWithoutValue.end() || equal(rc["build_codesign"], "true");
bool flagBuildHeadless = settings["build_headless"] == "true";
bool flagRunHeadless = optionsWithoutValue.find("--headless") != optionsWithoutValue.end();
Expand Down
13 changes: 8 additions & 5 deletions src/cli/templates.hh
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ constexpr auto gWindowsAppManifest = R"XML(<?xml version="1.0" encoding="utf-8"?
<Properties>
<DisplayName>{{meta_title}}</DisplayName>
<Description>{{meta_description}}</Description>
<Logo>{{win_icon}}</Logo>
<Logo>{{win_logo}}</Logo>
<PublisherDisplayName>{{meta_maintainer}}</PublisherDisplayName>
</Properties>
Expand All @@ -427,12 +427,12 @@ constexpr auto gWindowsAppManifest = R"XML(<?xml version="1.0" encoding="utf-8"?
Executable="{{win_exe}}"
>
<uap:VisualElements DisplayName="{{meta_title}}"
Square150x150Logo="{{win_icon}}"
Square44x44Logo="{{win_icon}}"
Square150x150Logo="{{win_logo}}"
Square44x44Logo="{{win_logo}}"
Description="{{meta_description}}"
BackgroundColor="#20123A"
>
<uap:DefaultTile Wide310x150Logo="{{win_icon}}" />
<uap:DefaultTile Wide310x150Logo="{{win_logo}}" />
</uap:VisualElements>
<Extensions>
<uap3:Extension
Expand Down Expand Up @@ -1658,8 +1658,11 @@ headers = native-module1.hh
; The icon to use for identifying your app on Windows.
icon = "src/icon.png"
; The icon for the app package manifest
; logo = ""
; A relative path to the pfx file used for signing.
pfx = "certs/cert.pfx"
; pfx = "certs/cert.pfx"
; The signing information needed by the appx api.
; publisher = "CN=Beep Boop Corp., O=Beep Boop Corp., L=San Francisco, S=California, C=US"
Expand Down

0 comments on commit c5d0e08

Please sign in to comment.