Update Servo logo files

This commit is contained in:
Alex Touchet 2020-06-29 23:20:54 -07:00 committed by GitHub
parent 6861b6cf33
commit c379b65307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ fn main() {
#[cfg(windows)] #[cfg(windows)]
{ {
let mut res = winres::WindowsResource::new(); let mut res = winres::WindowsResource::new();
res.set_icon("../../resources/Servo.ico"); res.set_icon("../../resources/servo.ico");
res.set_manifest_file("platform/windows/servo.exe.manifest"); res.set_manifest_file("platform/windows/servo.exe.manifest");
res.compile().unwrap(); res.compile().unwrap();
} }

View file

@ -129,7 +129,7 @@ impl Window {
#[cfg(any(target_os = "linux", target_os = "windows"))] #[cfg(any(target_os = "linux", target_os = "windows"))]
{ {
let icon_bytes = include_bytes!("../../resources/servo64.png"); let icon_bytes = include_bytes!("../../resources/servo_64.png");
winit_window.set_window_icon(Some(load_icon(icon_bytes))); winit_window.set_window_icon(Some(load_icon(icon_bytes)));
} }

View file

@ -739,7 +739,7 @@ class MachCommands(CommandBase):
# like Instruments.app. # like Instruments.app.
try: try:
import Cocoa import Cocoa
icon_path = path.join(self.get_top_dir(), "resources", "servo.png") icon_path = path.join(self.get_top_dir(), "resources", "servo_1024.png")
icon = Cocoa.NSImage.alloc().initWithContentsOfFile_(icon_path) icon = Cocoa.NSImage.alloc().initWithContentsOfFile_(icon_path)
if icon is not None: if icon is not None:
Cocoa.NSWorkspace.sharedWorkspace().setIcon_forFile_options_(icon, Cocoa.NSWorkspace.sharedWorkspace().setIcon_forFile_options_(icon,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After