No description
Find a file
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
.github #209 implement electron-updater (#210) 2023-02-21 21:03:24 +08:00
devops #172 ci cache implementation: pnpm store and cargo build target 2023-01-25 14:58:19 +08:00
modules #209 implement electron-updater (#210) 2023-02-21 21:03:24 +08:00
.gitignore rerun 2023-01-25 15:31:57 +08:00
.npmrc #186 init electron ci build 2023-02-02 11:01:12 +08:00
package.json #186 init electron ci build 2023-02-02 11:01:12 +08:00
pnpm-lock.yaml #209 implement electron-updater (#210) 2023-02-21 21:03:24 +08:00
pnpm-workspace.yaml #92 change /packages/ to /modules/ 2022-12-21 10:02:20 +08:00
README.md #209 implement electron-updater (#210) 2023-02-21 21:03:24 +08:00

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