magnum-opus code is wrong with Macos M1 #1081

Closed
opened 2026-02-20 23:17:52 -05:00 by deekerman · 3 comments
Owner

Originally created by @zkteco-home on GitHub (Nov 28, 2022).

image

What did you expect to happen instead?

code should be like this:
let mut target = if target_os == "macos" {
if target_arch == "x64" {
"x64-osx".to_owned()
} else if target_arch == "arm64"{
"arm64-osx".to_owned()
} else {
format!("{}-{}", target_arch, target_os)
}

i suggest you fork and push it to your repository

Originally created by @zkteco-home on GitHub (Nov 28, 2022). <!-- Hey there, thank you for creating an issue! --> ![image](https://user-images.githubusercontent.com/66519168/204227837-ba59aeae-5c56-4e3a-8777-1509ebba35a8.png) **What did you expect to happen instead?** code should be like this: let mut target = if target_os == "macos" { if target_arch == "x64" { "x64-osx".to_owned() } else if target_arch == "arm64"{ "arm64-osx".to_owned() } else { format!("{}-{}", target_arch, target_os) } i suggest you fork and push it to your repository
deekerman 2026-02-20 23:17:52 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Nov 28, 2022):

#763

@rustdesk commented on GitHub (Nov 28, 2022): #763
Author
Owner

@rustdesk commented on GitHub (Nov 28, 2022):

go PR

@rustdesk commented on GitHub (Nov 28, 2022): go PR
Author
Owner

@zkteco-home commented on GitHub (Dec 1, 2022):

@rustdesk small issue feedback,due to remove tray_manager,so you should change here,otherwise compile fail.
image

@zkteco-home commented on GitHub (Dec 1, 2022): @rustdesk small issue feedback,due to remove tray_manager,so you should change here,otherwise compile fail. ![image](https://user-images.githubusercontent.com/66519168/205057174-4800a1f0-a393-4450-b10d-4b165bb87cd4.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#1081
No description provided.