timothymiller / t4-app

A powerful cross-platform UI toolkit for building actually native iOS, Android, macOS, Windows, Linux, and Progressive Web Apps with React (Native).
https://t4stack.com
MIT License
1.34k stars 71 forks source link

[Feature] Initial tauri implementation #26

Closed albbus-stack closed 1 year ago

albbus-stack commented 1 year ago

Added the apps/tauri folder for the Tauri specific next build, also added a new workflow for the Tauri build process that also includes a cache for the cargo dependencies used. Currently is set only for building windows executables in debug mode, but that can be changed easily (see comments in the workflow itself).

The only thing necessary for building is to set the NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY in Github secrets.

timothymiller commented 1 year ago

Sweet!! Just resolve the merge conflicts and this is good to go!

albbus-stack commented 1 year ago

Sweet!! Just resolve the merge conflicts and this is good to go!

Still doesn't work even if I use the same pnpm-lock as the other successful runs, can you take a look at https://github.com/albbus-stack/t4-app/actions/runs/5581814569/jobs/10200369195?

albbus-stack commented 1 year ago

Figured it out. 😌

Now it works successfully here: https://github.com/albbus-stack/t4-app/actions/runs/5582002972/jobs/10200805171

No idea on why it was slower, probably the first run with pnpm tauri...

This PR should be good to go now 👍