mirror of
https://github.com/servo/servo.git
synced 2025-09-20 11:50:09 +01:00
servoshell: Switch from winres
to winresources
(#39344)
`winres` is unmaintained and it seems like `winresoures` is the successor. Testing: This should not have any behavior changes and just modifies a build step, so shouldn't need tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
5fd01ca25f
commit
6deb42dbd5
4 changed files with 18 additions and 27 deletions
|
@ -26,7 +26,7 @@ bench = false
|
|||
cc = "1.2"
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winres = "0.1"
|
||||
winresource = "0.1"
|
||||
|
||||
[package.metadata.winres]
|
||||
FileDescription = "Servo"
|
||||
|
|
|
@ -50,7 +50,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
if target_os == "windows" {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
let mut res = winres::WindowsResource::new();
|
||||
let mut res = winresource::WindowsResource::new();
|
||||
res.set_icon("../../resources/servo.ico");
|
||||
res.set_manifest_file("platform/windows/servo.exe.manifest");
|
||||
res.compile().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue