Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0457aed045 | ||
|
|
774606a7b0 |
Generated
+1
-1
@@ -1332,7 +1332,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gta-tools"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"catppuccin-egui",
|
||||
"eframe",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "gta-tools"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -2,7 +2,7 @@ use crate::{features, gui::App, util::Countdown};
|
||||
use std::time::{Duration, Instant};
|
||||
use sysinfo::System;
|
||||
use windows::Win32::{
|
||||
Foundation::{HANDLE, NTSTATUS},
|
||||
Foundation::{CloseHandle, HANDLE, NTSTATUS},
|
||||
System::Threading::{OpenProcess, PROCESS_SUSPEND_RESUME},
|
||||
};
|
||||
|
||||
@@ -58,5 +58,6 @@ pub fn activate(app: &mut App) {
|
||||
pub fn deactivate(app: &mut App) {
|
||||
unsafe {
|
||||
let _ = NtResumeProcess(app.game_handle);
|
||||
let _ = CloseHandle(app.game_handle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user