- Before all create
.env
file.HASURA_PATH='?' HASURA_SSL=1 HOST_URL='http://localhost:4000' AUTH_LOGIN='/' GITHUB_CLIENTID='?' GITHUB_CLIENTSECRET='?' APP_NAME='deepcase'
- Before capacitor build.
mkdir -p ./.next && ln -s ~/android-studio/ ./.next/android-studio
npm run dev 4000
npm run build
npm run export
npx cap copy android
npx cap open android
npm run build
npm run export
npx cap copy ios
npx cap open ios
sync cap
npx cap update
sync cap with xcode
npx cap sync
serve
npx cap serve
ASSET_PREFIX='.' npm run build && ASSET_PREFIX='.' npm run export && npx cap copy electron && npx cap open electron