gui/README.md
Neil a1be911397
#209 implement electron-updater (#210)
* #209 implement electron-updater: enable gui to auto update if there are new builds in s3
---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-21 21:03:24 +08:00

2.1 KiB

tea

Twitter Discord Version

This repository contains tea/gui [notion].

Developing tea/gui

To develop within an electron view:

$ pnpm dev:desktop

To develop in your local browser:

$ pnpm web:desktop
$ open localhost:8080

Releasing tea/gui

Tag any commit in the main branch, then push directly to the main branch. Lets follow the semver versioning standard, prefixed with v:

$ git tag v1.0.0
$ git push <remote> tag v1.0.0

We do not have a runner for building for M1 and M2, to manually deploy a release. Make sure you have aws/cli configured correctly.

To publish a release:

$ AWS_PROFILE=tea/or/etc pnpm release

Refer to each package README.md for instructions on how to setup and contribute to them:

 

Tasks

The following can be run with xc, eg. xc build

Setup

pnpm install

Build

pnpm install
pnpm build:desktop

Dev

pnpm install
pnpm dev

Dist

pnpm install
pnpm --filter desktop exec pnpm dist

Dependencies

Project Version
nodejs.org >=18.14
pnpm.io >=7.20
xcfile.dev >=0.0.110
python.org >=3.10
github.com/create-dmg/create-dmg >=1.1