chore: compatible with macos

This commit is contained in:
GyDi
2021-12-06 10:31:56 +08:00
parent e22470969e
commit f320d515d5
9 changed files with 34 additions and 25 deletions
+3
View File
@@ -1,6 +1,9 @@
use serde::{Deserialize, Serialize};
use std::io;
#[cfg(target_os = "windows")]
use winreg::enums::*;
#[cfg(target_os = "windows")]
use winreg::RegKey;
#[derive(Debug, Deserialize, Serialize)]