thedesk/app/node_modules/app-builder-lib/out/util/flags.js

32 lines
796 B
JavaScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isUseSystemSigncode = isUseSystemSigncode;
exports.isBuildCacheEnabled = isBuildCacheEnabled;
exports.isAutoDiscoveryCodeSignIdentity = isAutoDiscoveryCodeSignIdentity;
function _builderUtil() {
const data = require("builder-util");
_builderUtil = function () {
return data;
};
return data;
}
function isUseSystemSigncode() {
return (0, _builderUtil().isEnvTrue)(process.env.USE_SYSTEM_SIGNCODE);
}
function isBuildCacheEnabled() {
return !(0, _builderUtil().isEnvTrue)(process.env.ELECTRON_BUILDER_DISABLE_BUILD_CACHE);
}
function isAutoDiscoveryCodeSignIdentity() {
return process.env.CSC_IDENTITY_AUTO_DISCOVERY !== "false";
}
// __ts-babel@6.0.4
//# sourceMappingURL=flags.js.map