forked from CringeStudios/element-desktop
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a0cfd49bab
commit
9bb4eb5f60
@ -16,6 +16,9 @@ import { flipFuses, FuseVersion, FuseV1Options } from "@electron/fuses";
|
|||||||
* Replaces spaces in the product name with dashes as spaces in paths can cause issues
|
* Replaces spaces in the product name with dashes as spaces in paths can cause issues
|
||||||
* Removes libsqlcipher0 recommended dependency if env SQLCIPHER_BUNDLED is asserted.
|
* Removes libsqlcipher0 recommended dependency if env SQLCIPHER_BUNDLED is asserted.
|
||||||
* Passes $ED_DEBIAN_CHANGELOG to build.deb.fpm if specified
|
* Passes $ED_DEBIAN_CHANGELOG to build.deb.fpm if specified
|
||||||
|
*
|
||||||
|
* On macOS:
|
||||||
|
* Passes $APPLE_TEAM_ID to build.mac.extendInfo["ElectronTeamID"] if specified.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const NIGHTLY_APP_ID = "im.riot.nightly";
|
const NIGHTLY_APP_ID = "im.riot.nightly";
|
||||||
@ -176,6 +179,16 @@ if (process.env.ED_SIGNTOOL_SUBJECT_NAME && process.env.ED_SIGNTOOL_THUMBPRINT)
|
|||||||
config.win.certificateSha1 = process.env.ED_SIGNTOOL_THUMBPRINT;
|
config.win.certificateSha1 = process.env.ED_SIGNTOOL_THUMBPRINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allow specifying ElectronTeamID via env vars
|
||||||
|
* @param {string} process.env.APPLE_TEAM_ID
|
||||||
|
*/
|
||||||
|
if (process.env.APPLE_TEAM_ID) {
|
||||||
|
config.mac.extendInfo = {
|
||||||
|
ElectronTeamID: process.env.APPLE_TEAM_ID,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow specifying nightly version via env var
|
* Allow specifying nightly version via env var
|
||||||
* @param {string} process.env.ED_NIGHTLY
|
* @param {string} process.env.ED_NIGHTLY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user