Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on macOS normally #44

Closed
wndkx opened this issue Jul 8, 2023 · 7 comments
Closed

Not working on macOS normally #44

wndkx opened this issue Jul 8, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@wndkx
Copy link

wndkx commented Jul 8, 2023

Describe the bug
First, there was a problem with the building. I could only build the dev version. When I opened Dorion on my Mac, login animation was laggy. Then when I wanted to join the voice channel, it wrote: "Your browser is deprecated".

To Reproduce
Open Dorion. You will see laggy login animation
Join a voice channel or undeafen yourself

Expected behaviour
feels really laggy

Screenshots
Screenshot 2023-07-08 at 10 05 09

Screenshot 2023-07-08 at 10 05 14

System Info (please complete the following information):

  • OS: macOS 13.4.1
  • Version v0.5.0
  • Any other relevant info: M1 MacBook Air
    Additional context
    maybe the problem with WebKit
@wndkx wndkx added the bug Something isn't working label Jul 8, 2023
@SpikeHD
Copy link
Owner

SpikeHD commented Jul 8, 2023

I only just bought an M1 Macbook a couple weeks ago, so unfortunately Mac builds have gone 100% untested as of now. Will look into it eventually 👍.

@SpikeHD
Copy link
Owner

SpikeHD commented Jul 8, 2023

@z3ven I rebuilt a release build on my 2020 M1 Macbook Pro and it ran perfectly fine. Voice channel joining doesn't seem to work because the MacOS WKWebview probably doesn't support WebRTC, like on Linux (#30). Could probably implement it with this, which is something I have never done before, and would almost definitely require forking Tauri/Tao, so unfortunately its not a terribly huge priority.

Can you paste the problems/errors you got while attempting to build a release version?

@wndkx wndkx closed this as completed Jul 9, 2023
@wndkx wndkx reopened this Jul 9, 2023
@wndkx
Copy link
Author

wndkx commented Jul 9, 2023

  • First, I ran cargo install to install all the dependencies (All commands I took from the README.md file in the repository). However, I encountered an error:
    Using cargo installto install the binaries for the package in the current working directory is no longer supported. Please usecargo install --path .instead. If you only want to build the package, usecargo build.
  • Second, I used npm tauri build to build the Tauri app, but I encountered the following error:
    Error: beforeBuildCommand 'yarn build' failed with exit code 127.

@SpikeHD
Copy link
Owner

SpikeHD commented Jul 9, 2023

  1. Try following what the error told you and run cargo install --path ., assuming you are already navigated into the src-tauri folder like the README mentions.
  2. Looks like I forgot to make the scripts npm-friendly haha. Use yarn for now, or look in package..json and run the commands for building manually

@wndkx
Copy link
Author

wndkx commented Jul 10, 2023

Tried using cargo install --path(Already went to src-tauri), not working. Will try installing yarn

@SpikeHD
Copy link
Owner

SpikeHD commented Jul 10, 2023

I have a feeling you forgot the . at the end of the cargo command, but you can also try cargo build. It's possible that running yarn tauri build in the project root folder without running anything cargo-related will still work, but I don't know off the top of my head.

@wndkx
Copy link
Author

wndkx commented Jul 11, 2023

thx! Helped.

@wndkx wndkx closed this as completed Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants