From 0c0a0814931448a9d12a7ac5c9b1f0b4dff2a123 Mon Sep 17 00:00:00 2001 From: brotoskyj Date: Wed, 26 Feb 2025 18:01:14 +0000 Subject: [PATCH] Added place holder for update check function --- src/main.rs | 1 + src/utils/othertoolmodules.rs | 4 ++++ utils.rs | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) delete mode 100644 utils.rs diff --git a/src/main.rs b/src/main.rs index cc4464d..89f5d89 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ slint::include_modules!(); pub mod utils; fn main() { + utils::othertoolmodules::update(); let app: MainWindow = MainWindow::new().unwrap(); let usermodulecallbacks: UserModuleCallbacks<'_> = app.global::(); usermodulecallbacks.on_searchUser({ diff --git a/src/utils/othertoolmodules.rs b/src/utils/othertoolmodules.rs index b3db169..216bbce 100644 --- a/src/utils/othertoolmodules.rs +++ b/src/utils/othertoolmodules.rs @@ -40,3 +40,7 @@ pub fn ip_gelocate_api(app: MainWindow) { } } } + +pub fn update() { + println!("Checking for Updates!"); +} diff --git a/utils.rs b/utils.rs deleted file mode 100644 index 96f28d9..0000000 --- a/utils.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod other \ No newline at end of file