fix build, android

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow committed 2023-10-14 12:26:27 +08:00
1 parent 3bb7123dd5
commit c10fc26cce
4 files changed
+10 -5

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ pub const PA_SAMPLE_RATE: u32 = 48000;
pub(crate) struct InstallingService; // please use new
impl InstallingService {
#[cfg(any(target_os = "windows", target_os = "linux"))]
pub fn new() -> Self {
*INSTALLING_SERVICE.lock().unwrap() = true;
Self