Skip to content

Commit

Permalink
feat: sleep before updating
Browse files Browse the repository at this point in the history
  • Loading branch information
copyandexecute committed Feb 3, 2025
1 parent 7d3699f commit 9cce474
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "noriskclient",
"private": true,
"version": "0.5.21",
"version": "0.5.22",
"type": "module",
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "noriskclient"
version = "0.5.21"
version = "0.5.22"
description = "A NoRiskClient launcher for Minecraft, written in Rust using Tauri."
authors = ["NoRiskk, TimLohrer (Aim_shock)"]
license = "GNU General Public License v3.0"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/app/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ async fn run_client(

#[tauri::command]
async fn quit_everything() -> Result<(), crate::error::Error> {
tokio::time::sleep(std::time::Duration::from_secs(3)).await;
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
let pid = NRCCache::get_pid();
let mut system = System::new_all();
system.refresh_all(); // Alle Prozesse aktualisieren
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "NoRiskClient",
"version": "0.5.21"
"version": "0.5.22"
},
"tauri": {
"allowlist": {
Expand Down

0 comments on commit 9cce474

Please sign in to comment.