Skip to content

Commit

Permalink
fix electron env
Browse files Browse the repository at this point in the history
  • Loading branch information
staszekscp committed Apr 13, 2023
1 parent 3b11af5 commit 043c8e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/electronBuilder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ const pullRequestNumber = process.env.PULL_REQUEST_NUMBER;
const s3Bucket = {
production: 'expensify-cash',
staging: 'staging-expensify-cash',
internal: 'ad-hoc-expensify-cash',
adhoc: 'ad-hoc-expensify-cash',
};

const s3Path = {
production: '/',
staging: '/',
internal: process.env.PULL_REQUEST_NUMBER
adhoc: process.env.PULL_REQUEST_NUMBER
? `/desktop/${pullRequestNumber}/`
: '/',
};

const macIcon = {
production: './desktop/icon.png',
staging: './desktop/icon-stg.png',
internal: './desktop/icon-adhoc.png',
adhoc: './desktop/icon-adhoc.png',
};

const isCorrectElectronEnv = ['production', 'staging', 'internal'].includes(
const isCorrectElectronEnv = ['production', 'staging', 'adhoc'].includes(
process.env.ELECTRON_ENV,
);

Expand Down

0 comments on commit 043c8e3

Please sign in to comment.