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
tauri desktop app #613
tauri desktop app #613
Conversation
amazing! and just ~18MB in size :) just tested it and it works! I think webaudio is not so optimized on safari / webkit so it should make sense to put more effort into performance on webkit for macos and (some?) linux users (of course not in this PR). theoretically, having a desktop app would also allow packaging a much faster audio engine..... |
I was actually able to push it down to 15MB with some rust build optimizations. Will push them and a README soon. I was also thinking about tinkering with github actions so it would build bundles and installers automatically for a bunch of platforms. What do you think? |
sounds good! probably best to build it on release.. found this on a brief research : https://github.com/softprops/action-gh-release |
I'll take a look. |
Added a separate workflow for tauri to not mess with existing ones. I think it should work. |
great! so it will run automatically when a new version tag is pushed? |
yep. tested it only on a dummy repo though. I think I'll make a private clone of strudel repo to test it properly. |
tested it properly and made some adjustments. it builds for mac and windows, but there are issues with ubuntu. |
everything should work now |
so is it ready to merge then? |
yes. I'll work on MIDI support next, but on a new branch. |
After installing the dependancies, use 'pnpm tauri dev' to run or 'pnpm tauri build' to build.
I'm not that familiar with Strudel's codebase and have never built an app with Tauri before. This is just an attempt at following the official guide for Tauri integration. Everything seems to be working, except webmidi.
I tested it on macOS Ventura. There's some slight audio crackle from time to time, but I have the same issue in Safari.