Initial commit: Veritas RansomGuard Pro Anti-Ransomware Module
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
[package]
|
||||
name = "ransomguard"
|
||||
version = "1.0.0"
|
||||
edition.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[dependencies]
|
||||
veritas-core = { path = "../../veritas-core" }
|
||||
anyhow.workspace = true
|
||||
chrono.workspace = true
|
||||
tokio = { version = "1.38", features = ["full"] }
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
colored = "2.1"
|
||||
eframe = "0.27"
|
||||
egui = "0.27"
|
||||
image = "0.24"
|
||||
sha2.workspace = true
|
||||
|
||||
[build-dependencies]
|
||||
winres = "0.1"
|
||||
@@ -0,0 +1,22 @@
|
||||
fn main() {
|
||||
if std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows" {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
res.set_icon("veritas_icon.ico");
|
||||
res.set_manifest(
|
||||
r#"
|
||||
<assembly xmlns="urn:schemas-microsoft-system-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-system-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
"#,
|
||||
);
|
||||
if let Err(e) = res.compile() {
|
||||
eprintln!("Resource compilation failed: {}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+1004
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 126 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
Reference in New Issue
Block a user