gwen: Embed Gwen icon and product metadata in Windows binaries
- Map the dev release channel to app-icon-gwen.ico and product name Gwen in the Windows version resource instead of the upstream Zed Dev icon and name - Set CompanyName to yrkaierx to match the installer's AppPublisher
This commit is contained in:
1 parent
8cbbb66e97
commit
ad13ed3b7d
1 file changed
+2
-2
@@ -47,7 +47,7 @@ pub fn compile(manifest: bool) -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
"stable" => ("app-icon.ico", "Zed"),
|
"stable" => ("app-icon.ico", "Zed"),
|
||||||
"preview" => ("app-icon-preview.ico", "Zed Preview"),
|
"preview" => ("app-icon-preview.ico", "Zed Preview"),
|
||||||
"nightly" => ("app-icon-nightly.ico", "Zed Nightly"),
|
"nightly" => ("app-icon-nightly.ico", "Zed Nightly"),
|
||||||
_ => ("app-icon-dev.ico", "Zed Dev"),
|
_ => ("app-icon-gwen.ico", "Gwen"),
|
||||||
};
|
};
|
||||||
let icon = std::path::PathBuf::from(ICON_DIR).join(icon_filename);
|
let icon = std::path::PathBuf::from(ICON_DIR).join(icon_filename);
|
||||||
let icon_escaped = icon.to_string_lossy().replace('\\', "\\\\");
|
let icon_escaped = icon.to_string_lossy().replace('\\', "\\\\");
|
||||||
@@ -94,7 +94,7 @@ BEGIN
|
|||||||
VALUE "FileVersion", "{pkg_version}\0"
|
VALUE "FileVersion", "{pkg_version}\0"
|
||||||
VALUE "ProductName", "{product_name}\0"
|
VALUE "ProductName", "{product_name}\0"
|
||||||
VALUE "ProductVersion", "{product_version}\0"
|
VALUE "ProductVersion", "{product_version}\0"
|
||||||
VALUE "CompanyName", "Zed Industries, Inc.\0"
|
VALUE "CompanyName", "yrkaierx\0"
|
||||||
VALUE "LegalCopyright", "Copyright 2022 - 2025 Zed Industries, Inc.\0"
|
VALUE "LegalCopyright", "Copyright 2022 - 2025 Zed Industries, Inc.\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|||||||
Reference in new issue
Block a user