move images to assets/
5
Cargo.lock
generated
@ -1054,13 +1054,12 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rand"
|
name = "rand"
|
||||||
version = "0.9.0"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
|
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
"rand_core",
|
"rand_core",
|
||||||
"zerocopy 0.8.17",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -4,7 +4,7 @@ version = "0.1.3+2.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.9.0"
|
rand = "0.9.1"
|
||||||
regex = "1.11.1"
|
regex = "1.11.1"
|
||||||
colored = "3.0.0"
|
colored = "3.0.0"
|
||||||
lazy_static = "1.5.0"
|
lazy_static = "1.5.0"
|
||||||
|
@ -20,7 +20,7 @@ better RAC client
|
|||||||
- RACS compatible (--enable-ssl or in --configure enable SSL)
|
- RACS compatible (--enable-ssl or in --configure enable SSL)
|
||||||
- chunked reading messages
|
- chunked reading messages
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## how to run
|
## how to run
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -179,7 +179,7 @@ fn build_menu(_: Arc<Context>, app: &Application) {
|
|||||||
.comments("better RAC client")
|
.comments("better RAC client")
|
||||||
.website("https://github.com/MeexReay/bRAC")
|
.website("https://github.com/MeexReay/bRAC")
|
||||||
.website_label("source code")
|
.website_label("source code")
|
||||||
.logo(&Texture::for_pixbuf(&load_pixbuf(include_bytes!("../../icon.png"))))
|
.logo(&Texture::for_pixbuf(&load_pixbuf(include_bytes!("../../assets/icon.png"))))
|
||||||
.build()
|
.build()
|
||||||
.present();
|
.present();
|
||||||
}
|
}
|
||||||
@ -222,17 +222,17 @@ fn build_ui(ctx: Arc<Context>, app: &Application) -> UiModel {
|
|||||||
let fixed = Fixed::new();
|
let fixed = Fixed::new();
|
||||||
fixed.set_can_target(false);
|
fixed.set_can_target(false);
|
||||||
|
|
||||||
let konata = Picture::for_pixbuf(&load_pixbuf(include_bytes!("../../konata.png")));
|
let konata = Picture::for_pixbuf(&load_pixbuf(include_bytes!("../../assets/konata.png")));
|
||||||
konata.set_size_request(174, 127);
|
konata.set_size_request(174, 127);
|
||||||
|
|
||||||
fixed.put(&konata, 325.0, 4.0);
|
fixed.put(&konata, 325.0, 4.0);
|
||||||
|
|
||||||
let logo = Picture::for_pixbuf(&load_pixbuf(include_bytes!("../../logo.gif")));
|
let logo = Picture::for_pixbuf(&load_pixbuf(include_bytes!("../../assets/logo.gif")));
|
||||||
logo.set_size_request(152, 64);
|
logo.set_size_request(152, 64);
|
||||||
|
|
||||||
let logo_anim = PixbufAnimation::from_stream(
|
let logo_anim = PixbufAnimation::from_stream(
|
||||||
&MemoryInputStream::from_bytes(
|
&MemoryInputStream::from_bytes(
|
||||||
&glib::Bytes::from(include_bytes!("../../logo.gif"))
|
&glib::Bytes::from(include_bytes!("../../assets/logo.gif"))
|
||||||
),
|
),
|
||||||
None::<&gio::Cancellable>
|
None::<&gio::Cancellable>
|
||||||
).unwrap().iter(Some(SystemTime::now()));
|
).unwrap().iter(Some(SystemTime::now()));
|
||||||
|