diff --git a/script/utils/fingerprint.js b/script/utils/fingerprint.js index 2da48039f..c419ba4fd 100644 --- a/script/utils/fingerprint.js +++ b/script/utils/fingerprint.js @@ -7,7 +7,11 @@ var fingerprintPath = path.resolve(__dirname, '..', '..', 'node_modules', '.atom module.exports = { fingerprint: function () { var packageJson = fs.readFileSync(path.resolve(__dirname, '..', '..', 'package.json')) - var body = packageJson.toString() + process.platform + process.version + + //Include the electron minor version in the fingerprint since that changing requires a re-install + var electronVersion = JSON.parse(packageJson).electronVersion.replace(/\.\d+$/, '') + + var body = electronVersion + process.platform + process.version return crypto.createHash('sha1').update(body).digest('hex') },