1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-10-31 14:53:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

more cresc config

This commit is contained in:
sunnylqm
2025-02-18 22:37:09 +08:00
parent e713f4bbd1
commit 546faef83f
3 changed files with 29 additions and 17 deletions

6
src/utils/constants.ts Normal file
View File

@@ -0,0 +1,6 @@
export const credentialFile = global.IS_CRESC ? '.cresc.token' : '.update';
export const updateJson = global.IS_CRESC ? 'cresc.config.json' : 'update.json';
export const tempDir = global.IS_CRESC ? '.cresc.temp' : '.pushy';
export const pricingPageUrl = global.IS_CRESC
? 'https://cresc.dev/pricing'
: 'https://pushy.reactnative.cn/pricing.html';