2023-09-03 22:24:08 +00:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
|
|
DIST_PATH="${HOME}/fchat-rising/electron/dist"
|
|
|
|
|
2023-09-03 22:29:02 +00:00
|
|
|
export NODE_OPTIONS=--openssl-legacy-provider
|
|
|
|
|
2023-09-03 22:24:08 +00:00
|
|
|
cd "${HOME}/fchat-rising"
|
|
|
|
git checkout canary
|
|
|
|
git pull
|
|
|
|
yarn
|
|
|
|
|
|
|
|
rm -rf "${DIST_PATH}"
|
|
|
|
|
|
|
|
cd electron
|
2023-09-03 23:05:07 +00:00
|
|
|
yarn build
|
2023-09-03 23:07:29 +00:00
|
|
|
node pack.js
|