diff options
author | Hailey <me@haileyok.com> | 2024-04-05 13:29:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 13:29:54 -0700 |
commit | a6babaceaf3706a1c59f6b117049c6dfa3afd1e6 (patch) | |
tree | 95984d6e7c770a20a211e37778e36d09f57e975e /app.config.js | |
parent | cd29dba761dde1e5050675cbc3002b317c5648b4 (diff) | |
download | voidsky-a6babaceaf3706a1c59f6b117049c6dfa3afd1e6.tar.zst |
adjust `app.config.js` to prevent development manifest error (#3413)
Diffstat (limited to 'app.config.js')
-rw-r--r-- | app.config.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app.config.js b/app.config.js index 21b794917..9036d5e33 100644 --- a/app.config.js +++ b/app.config.js @@ -130,11 +130,15 @@ module.exports = function (config) { // TestFlight builds enabled: IS_TESTFLIGHT, fallbackToCacheTimeout: 30000, - codeSigningCertificate: './code-signing/certificate.pem', - codeSigningMetadata: { - keyid: 'main', - alg: 'rsa-v1_5-sha256', - }, + codeSigningCertificate: IS_TESTFLIGHT + ? './code-signing/certificate.pem' + : undefined, + codeSigningMetadata: IS_TESTFLIGHT + ? { + keyid: 'main', + alg: 'rsa-v1_5-sha256', + } + : undefined, checkAutomatically: 'NEVER', channel: UPDATES_CHANNEL, }, |