feat(rclone.exe): Install rclone from github

This commit is contained in:
Black_Raven committed 2026-02-27 16:43:00 +03:00
1 parent d3321bc672
commit cac7ce922e
4 files changed
+1890 -27

No files matched your search

+7 -9
View File
@@ -1,13 +1,11 @@
mod rcloneInstall;
use rcloneInstall::RcloneApp;
//use rcloneInstall::RcloneApp;
fn main() {
let _app = match RcloneApp::new() {
Ok(app) => app,
Err(e) => {
eprintln!("Ошибка инициализации: {}", e);
panic!("{}", e);
}
};
use tokio::runtime::Runtime;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let rt = Runtime::new()?;
rt.block_on(rcloneInstall::install_latest_rclone())?;
Ok(())
}