xibyte / jsketcher

Parametric 2D and 3D modeler written in pure javascript
http://web-cad.org
Other
1.45k stars 275 forks source link

feat: initial tauri commit #206

Closed ZanzyTHEbar closed 1 year ago

ZanzyTHEbar commented 1 year ago

Related issue: #XXXX (if applicable)

Description:

This pr removes electron support in favour of tauri as a light-weight and cross-platform app building system.

This pr also adds CI using a github action file to build, version control, and release desktop builds to the github releases section of the repo. CI includes support for OSx ARM64 and AMD64 systems, Linux, and Windows.

I also added a vscode workspace file. This file sets up the necessary settings for working with tauri. It is not required to use, but it is highly recommended to use when working with or debugging a tauri application.

Note: This is a bare-bones implementation and window customization and app-updater have not been implemented, but can easily be. I recommend to impl this pr first, then implement more complex features of tauri on-top at a later date. Such as the app-updater.

Note: Currently the built-apps do not use a custom icon - this is easy to fix and I am happy to help with this as well, just lmk.

Warning: MacOS ARM64 builds require code-signing for the app to run. This is a rule that Apple has forced unto devs for all apps, including electron builds. As such, I have added support for code signing into the CI pipeline and it need only be activated. Please ask me how to do this, and I am happy to help.

Contributor name: ZanzyTHEbar (AKA DaOfficialWizard)

Confirm compliance with JSketcher project license.