feat: new app icon
Some checks failed
/ cargo-fmtcheck (push) Has been cancelled
/ cargo-clippy (push) Has been cancelled
/ cargo-test (push) Has been cancelled
/ appimage (push) Has been cancelled

This commit is contained in:
Gabriele Musco 2024-09-22 12:47:20 +02:00
commit 0543408a2f
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
7 changed files with 489 additions and 893 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After

View file

@ -20,6 +20,10 @@ pub fn get_developers() -> Vec<String> {
vec!["Gabriele Musco <gabmus@disroot.org>".into()] vec!["Gabriele Musco <gabmus@disroot.org>".into()]
} }
pub fn get_artists() -> Vec<String> {
vec!["App Icon: Yannick (@Yandr)".into()]
}
pub fn pkg_data_dir() -> PathBuf { pub fn pkg_data_dir() -> PathBuf {
get_exec_prefix().join("share").join(CMD_NAME) get_exec_prefix().join("share").join(CMD_NAME)
} }

View file

@ -1,7 +1,7 @@
use crate::{ use crate::{
constants::{ constants::{
get_developers, APP_ID, APP_NAME, BUILD_DATETIME, ISSUES_URL, REPO_URL, SINGLE_DEVELOPER, get_artists, get_developers, APP_ID, APP_NAME, BUILD_DATETIME, ISSUES_URL, REPO_URL,
VERSION, SINGLE_DEVELOPER, VERSION,
}, },
device_prober::PhysicalXRDevice, device_prober::PhysicalXRDevice,
linux_distro::LinuxDistro, linux_distro::LinuxDistro,
@ -21,6 +21,7 @@ pub fn create_about_dialog() -> adw::AboutDialog {
.issue_url(ISSUES_URL) .issue_url(ISSUES_URL)
.developer_name(SINGLE_DEVELOPER) .developer_name(SINGLE_DEVELOPER)
.developers(get_developers()) .developers(get_developers())
.artists(get_artists())
.build() .build()
} }