initial scaffold
This commit is contained in:
@@ -0,0 +1 @@
|
||||
// first-run ffmpeg download, sha256 verification, extraction into ./bin/
|
||||
@@ -0,0 +1 @@
|
||||
// screen capture via windows-capture (Windows Graphics Capture API)
|
||||
@@ -0,0 +1 @@
|
||||
// TOML config load/save - state lives in ./config.toml next to the exe
|
||||
@@ -0,0 +1 @@
|
||||
// ffmpeg invocation, target-size encoding logic, codec selection
|
||||
@@ -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")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
fn main() {
|
||||
bytesize_lib::run()
|
||||
}
|
||||
Reference in New Issue
Block a user