Núcleo em Rust somente leitura: NTFS, FAT, exFAT, partições MBR/GPT e perdidas, carving por estrutura, fusão sem duplicatas, confiança por arquivo, imagem forense, pausar/retomar. CLI `guara`, UI web/Tauri, CI e releases por tag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 lines
474 B
Rust
13 lines
474 B
Rust
fn main() {
|
|
#[cfg(windows)]
|
|
{
|
|
// Ler discos brutos no Windows exige administrador: o manifesto pede elevação (UAC).
|
|
let manifest = include_str!("windows-app-manifest.xml");
|
|
let attrs = tauri_build::Attributes::new()
|
|
.windows_attributes(tauri_build::WindowsAttributes::new().app_manifest(manifest));
|
|
tauri_build::try_build(attrs).expect("falha no tauri-build");
|
|
}
|
|
#[cfg(not(windows))]
|
|
tauri_build::build();
|
|
}
|