File tree Expand file tree Collapse file tree 3 files changed +2
-21
lines changed
Expand file tree Collapse file tree 3 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This binary allows other binaries running under Wine to communicate to Discord r
66
77## Installation
88Note: These instructions assume the usage of a [ Wineskin] ( http://wineskin.urgesoftware.com/tiki-index.php ) wrapper.
9- 1 . Download the ` bridge.exe ` binary from this repository
9+ 1 . Download the ` bridge.exe ` binary from the [ releases page ] ( https://github.com/Techno-coder/macOS-wine-bridge/releases )
10102 . Move the binary into the Wineskin ` drive_c ` folder
11113 . Invoke the binary before the main application with a batch script:
1212 ``` bat
Original file line number Diff line number Diff line change @@ -22,32 +22,13 @@ struct sockaddr_un {
2222__declspec(naked ) void __syscall () {
2323 __asm__ (
2424 "__syscall:\n\t"
25- // "push rdi\n\t"
26- // "push rsi\n\t"
27- // "push rdx\n\t"
28- // "push r10\n\t"
29- // "push r8\n\t"
30- // "push r9\n\t"
31-
3225 "add rax, 0x2000000\n\t"
33- // "mov rdi, [rsp]\n\t"
34- // "mov rsi, [rsp + 4]\n\t"
35- // "mov rdx, [rsp + 8]\n\t"
36- // "mov r10, [rsp + 12]\n\t"
37- // "mov r8, [rsp + 16]\n\t"
38- // "mov r9, [rsp + 16]\n\t"
3926
4027 "syscall\n\t"
4128 "jnc noerror\n\t"
4229 "neg rax\n\t"
43- "noerror:\n\t"
4430
45- // "pop r9\n\t"
46- // "pop r8\n\t"
47- // "pop r10\n\t"
48- // "pop rdx\n\t"
49- // "pop rsi\n\t"
50- // "pop rdi\n\t"
31+ "noerror:\n\t"
5132 "ret"
5233 );
5334}
You can’t perform that action at this time.
0 commit comments