initial scaffold

This commit is contained in:
2026-05-11 23:32:25 +03:00
commit 472aa6f9ec
20 changed files with 320 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
// first-run ffmpeg download, sha256 verification, extraction into ./bin/
+1
View File
@@ -0,0 +1 @@
// screen capture via windows-capture (Windows Graphics Capture API)
+1
View File
@@ -0,0 +1 @@
// TOML config load/save - state lives in ./config.toml next to the exe
+1
View File
@@ -0,0 +1 @@
// ffmpeg invocation, target-size encoding logic, codec selection
+12
View File
@@ -0,0 +1,12 @@
mod bootstrap;
mod capture;
mod config;
mod encode;
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_dialog::init())
.invoke_handler(tauri::generate_handler![])
.run(tauri::generate_context!())
.expect("error while running ByteSize")
}
+5
View File
@@ -0,0 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
bytesize_lib::run()
}