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

feat: initial tauri commit #206

Merged
merged 17 commits into from
May 12, 2023
Merged

feat: initial tauri commit #206

merged 17 commits into from
May 12, 2023

Conversation

ZanzyTHEbar
Copy link

@ZanzyTHEbar ZanzyTHEbar commented May 3, 2023

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.

  • Pull request is made compliance with JSKetcher license

ZanzyTHEbar and others added 17 commits May 3, 2023 13:04
- added support for native windows shadows
- upgraded tauri version to newest LTS
- added tauri commands to package.json
- use user input instead of auto-detection
* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](56c884c))
* add support for dxf blocks ([xibyte#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](322d47f))
* add support for dxf files import ([2fa2866](2fa2866))
* finish up CI system ([5a688d1](5a688d1))
* initial cir release ([2f94a6e](2f94a6e))
* initial tauri commit ([0a0bb54](0a0bb54))
* update tauri version ([90168da](90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](25ae8a4))
* **dxf:** add dimLayers to the export. ([xibyte#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](a3349b5))
* fix app not loading on linux builds ([9ef599d](9ef599d))
* fix release asset types ([8f73410](8f73410))
* release to tauri ([0ba5387](0ba5387))
* release to tauri branch ([11fcf2e](11fcf2e))
* release to tauri branch ([e8486a5](e8486a5))
* release to tauri branch ([6076573](6076573))
* remove caching of pnpm in ci ([96165f3](96165f3))
* remove old path ([f0b426c](f0b426c))
* remove repo from package.json ([dd099b8](dd099b8))
* script for linux ([46bda82](46bda82))
* semantic-release ([3edb4cf](3edb4cf))
* Update .releaserc ([3343d2c](3343d2c))
* update readme ([b00299d](b00299d))
* windows failing to build ([def0782](def0782))

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
swap to use older version of ubuntu.
* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](56c884c))
* add support for dxf blocks ([xibyte#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](322d47f))
* add support for dxf files import ([2fa2866](2fa2866))
* finish up CI system ([5a688d1](5a688d1))
* initial cir release ([2f94a6e](2f94a6e))
* initial tauri commit ([0a0bb54](0a0bb54))
* update tauri version ([90168da](90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](25ae8a4))
* **dxf:** add dimLayers to the export. ([xibyte#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](a3349b5))
* fix app not loading on linux builds ([9ef599d](9ef599d))
* fix release asset types ([8f73410](8f73410))
* release to tauri ([0ba5387](0ba5387))
* release to tauri branch ([11fcf2e](11fcf2e))
* release to tauri branch ([e8486a5](e8486a5))
* release to tauri branch ([6076573](6076573))
* remove caching of pnpm in ci ([96165f3](96165f3))
* remove old path ([f0b426c](f0b426c))
* remove repo from package.json ([dd099b8](dd099b8))
* script for linux ([46bda82](46bda82))
* semantic-release ([3edb4cf](3edb4cf))
* Update .releaserc ([3343d2c](3343d2c))
* update readme ([b00299d](b00299d))
* windows failing to build ([def0782](def0782))

* fix: appimage failing to build

* fix: test ubuntu 18.04

* fix: test ubuntu 18.04

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* chore(minor): 1.0.0-tauri.2 [skip ci]

## [1.0.0-tauri.2](v1.0.0-tauri.1...v1.0.0-tauri.2) (2023-05-11)

### 🐛 Bug Fixes

* appimage failing to build ([8dc6217](8dc6217))
* test ubuntu 18.04 ([8f55f4d](8f55f4d))
* test ubuntu 18.04 ([0afd146](0afd146))

### 🍕 Features

* update ci to use docker container ([7bcacb0](7bcacb0))
* update ci to use docker container ([98de939](98de939))
* update ci to use docker container ([0750c00](0750c00))
* update ci to use docker container ([715780f](715780f))
* update ci to use docker container ([ccbacdb](ccbacdb))
* update ci to use docker container ([60aa80d](60aa80d))
* update ci to use docker container ([f629258](f629258))
* update ci to use docker container ([278cf82](278cf82))
* update ci to use docker container ([02ec38c](02ec38c))
* update ci to use docker container ([8fb7924](8fb7924))
* update ci to use docker container ([d0493b3](d0493b3))
* update ci to use docker container ([09fbb4f](09fbb4f))
* update ci to use docker container ([c7e39b9](c7e39b9))
* update ci to use docker container ([d9221a7](d9221a7))
* update ci to use docker container ([9e96489](9e96489))
* update ci to use docker container ([765b708](765b708))
* update ci to use docker container ([484b722](484b722))
* update ci to use docker container ([1023d90](1023d90))
* update ci to use docker container ([1d9fd84](1d9fd84))

* feat: update rust deps

* chore(minor): 1.0.0-tauri.3 [skip ci]

## [1.0.0-tauri.3](v1.0.0-tauri.2...v1.0.0-tauri.3) (2023-05-11)

### 🍕 Features

* update rust deps ([b809c28](b809c28))

* fix: wasm not loading in webkit

* chore(patch): 1.0.0-tauri.4 [skip ci]

## [1.0.0-tauri.4](v1.0.0-tauri.3...v1.0.0-tauri.4) (2023-05-11)

### 🐛 Bug Fixes

* wasm not loading in webkit ([0e74582](0e74582))

* feat: add windows binary

* fix: windows ci

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](56c884c))
* add support for dxf blocks ([xibyte#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](322d47f))
* add support for dxf files import ([2fa2866](2fa2866))
* finish up CI system ([5a688d1](5a688d1))
* initial cir release ([2f94a6e](2f94a6e))
* initial tauri commit ([0a0bb54](0a0bb54))
* update tauri version ([90168da](90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](25ae8a4))
* **dxf:** add dimLayers to the export. ([xibyte#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](a3349b5))
* fix app not loading on linux builds ([9ef599d](9ef599d))
* fix release asset types ([8f73410](8f73410))
* release to tauri ([0ba5387](0ba5387))
* release to tauri branch ([11fcf2e](11fcf2e))
* release to tauri branch ([e8486a5](e8486a5))
* release to tauri branch ([6076573](6076573))
* remove caching of pnpm in ci ([96165f3](96165f3))
* remove old path ([f0b426c](f0b426c))
* remove repo from package.json ([dd099b8](dd099b8))
* script for linux ([46bda82](46bda82))
* semantic-release ([3edb4cf](3edb4cf))
* Update .releaserc ([3343d2c](3343d2c))
* update readme ([b00299d](b00299d))
* windows failing to build ([def0782](def0782))

* fix: appimage failing to build

* fix: test ubuntu 18.04

* fix: test ubuntu 18.04

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* chore(minor): 1.0.0-tauri.2 [skip ci]

## [1.0.0-tauri.2](v1.0.0-tauri.1...v1.0.0-tauri.2) (2023-05-11)

### 🐛 Bug Fixes

* appimage failing to build ([8dc6217](8dc6217))
* test ubuntu 18.04 ([8f55f4d](8f55f4d))
* test ubuntu 18.04 ([0afd146](0afd146))

### 🍕 Features

* update ci to use docker container ([7bcacb0](7bcacb0))
* update ci to use docker container ([98de939](98de939))
* update ci to use docker container ([0750c00](0750c00))
* update ci to use docker container ([715780f](715780f))
* update ci to use docker container ([ccbacdb](ccbacdb))
* update ci to use docker container ([60aa80d](60aa80d))
* update ci to use docker container ([f629258](f629258))
* update ci to use docker container ([278cf82](278cf82))
* update ci to use docker container ([02ec38c](02ec38c))
* update ci to use docker container ([8fb7924](8fb7924))
* update ci to use docker container ([d0493b3](d0493b3))
* update ci to use docker container ([09fbb4f](09fbb4f))
* update ci to use docker container ([c7e39b9](c7e39b9))
* update ci to use docker container ([d9221a7](d9221a7))
* update ci to use docker container ([9e96489](9e96489))
* update ci to use docker container ([765b708](765b708))
* update ci to use docker container ([484b722](484b722))
* update ci to use docker container ([1023d90](1023d90))
* update ci to use docker container ([1d9fd84](1d9fd84))

* feat: update rust deps

* chore(minor): 1.0.0-tauri.3 [skip ci]

## [1.0.0-tauri.3](v1.0.0-tauri.2...v1.0.0-tauri.3) (2023-05-11)

### 🍕 Features

* update rust deps ([b809c28](b809c28))

* fix: wasm not loading in webkit

* chore(patch): 1.0.0-tauri.4 [skip ci]

## [1.0.0-tauri.4](v1.0.0-tauri.3...v1.0.0-tauri.4) (2023-05-11)

### 🐛 Bug Fixes

* wasm not loading in webkit ([0e74582](0e74582))

* feat: add windows binary

* fix: windows ci

* fix: windows ci deps

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
@mmiscool mmiscool merged commit f764f6a into xibyte:dev May 12, 2023
github-actions bot pushed a commit that referenced this pull request May 13, 2023
## 1.0.0-dev.1 (2023-05-13)

### ⚠ BREAKING CHANGES

* CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](ZanzyTHEbar@0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](ZanzyTHEbar@56c884c))

### 🐛 Bug Fixes

* **dxf:** add dimLayers to the export. ([#183](#183)) ([a3349b5](a3349b5))

### 🍕 Features

* **dxf:** add support for dimensions in dxf. ([56c884c](56c884c))
* add support for dxf blocks ([#200](#200)) ([322d47f](322d47f))
* add support for dxf files import ([2fa2866](2fa2866))
* initial tauri commit ([#206](#206)) ([f764f6a](f764f6a)), closes [#1](#1) [#200](#200) [#183](#183)

### 🔁 Continuous Integration

* Setting up CI workflow ([a4b82dc](a4b82dc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants