mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
Small lints
This commit is contained in:
@@ -20,3 +20,6 @@ pub fn reopen_as_admin() {
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
pub fn reopen_as_admin() {}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub fn reopen_as_admin() {}
|
||||
|
||||
@@ -414,6 +414,7 @@ fn enable_grasscutter_watcher(window: tauri::Window, process: String) {
|
||||
#[tauri::command]
|
||||
fn enable_grasscutter_watcher(_window: tauri::Window, _process: String) {
|
||||
let gc_pid = Pid::from(696969);
|
||||
*GC_PID.lock().unwrap() = gc_pid.into();
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
@@ -271,7 +271,7 @@ pub fn start_service(service: String) -> bool {
|
||||
#[cfg(unix)]
|
||||
#[tauri::command]
|
||||
pub fn start_service(_service: String) {
|
||||
let started = OsStr::new("Started service!");
|
||||
let _started = OsStr::new("Started service!");
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
|
||||
Reference in New Issue
Block a user