mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
feat: use double-width font for better display
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -2702,7 +2702,7 @@ checksum = "43d84d1d7a6ac92673717f9f6d1518374ef257669c24ebc5ac25d5033828be58"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpbin"
|
name = "pumpbin"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pumpbin"
|
name = "pumpbin"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["b1n <b1n@b1n.io>"]
|
authors = ["b1n <b1n@b1n.io>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "PumpBin is an Implant Generation Platform."
|
description = "PumpBin is an Implant Generation Platform."
|
||||||
|
|||||||
Binary file not shown.
@@ -21,7 +21,7 @@ use plugin::{EncryptType, Plugin, Plugins};
|
|||||||
use rand::RngCore;
|
use rand::RngCore;
|
||||||
use rfd::AsyncFileDialog;
|
use rfd::AsyncFileDialog;
|
||||||
|
|
||||||
pub const FONT: Font = Font::with_name("JetBrainsMono NFP");
|
pub const FONT: Font = Font::with_name("JetBrainsMono NF");
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Pumpbin {
|
pub struct Pumpbin {
|
||||||
@@ -87,7 +87,7 @@ impl Pumpbin {
|
|||||||
exit_on_close_request: true,
|
exit_on_close_request: true,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
fonts: vec![include_bytes!("../assets/JetBrainsMonoNerdFontPropo-Regular.ttf").into()],
|
fonts: vec![include_bytes!("../assets/JetBrainsMonoNerdFont-Regular.ttf").into()],
|
||||||
default_font: FONT,
|
default_font: FONT,
|
||||||
default_text_size: Pixels(13.0),
|
default_text_size: Pixels(13.0),
|
||||||
antialiasing: true,
|
antialiasing: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user