Permalink
Browse files

move updateKey to settings

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
  • Loading branch information...
xaiki committed Feb 10, 2016
1 parent a80468f commit 8e6382a04fa606b4cbf60aea258aeb43f1569e19
Showing with 14 additions and 15 deletions.
  1. +13 −1 src/app/settings.js
  2. +1 −14 src/app/updater.js
View
@@ -12,7 +12,19 @@ var Settings = {
changelogUrl: 'https://github.com/butterproject/butter-desktop/commits/master',
issuesUrl: 'https://github.com/butterproject/butter-desktop/issues',
sourceUrl: 'https://github.com/butterproject/butter-desktop/',
commitUrl: 'https://github.com/butterproject/butter-desktop/commit'
commitUrl: 'https://github.com/butterproject/butter-desktop/commit',
updateKey: '-----BEGIN PUBLIC KEY-----\n' +
'MIIBtjCCASsGByqGSM44BAEwggEeAoGBAPNM5SX+yR8MJNrX9uCQIiy0t3IsyNHs\n' +
'HWA180wDDd3S+DzQgIzDXBqlYVmcovclX+1wafshVDw3xFTJGuKuva7JS3yKnjds\n' +
'NXbvM9CrJ2Jngfd0yQPmSh41qmJXHHSwZfPZBxQnspKjbcC5qypM5DqX9oDSJm2l\n' +
'fM/weiUGnIf7AhUAgokTdF7G0USfpkUUOaBOmzx2RRkCgYAyy5WJDESLoU8vHbQc\n' +
'rAMnPZrImUwjFD6Pa3CxhkZrulsAOUb/gmc7B0K9I6p+UlJoAvVPXOBMVG/MYeBJ\n' +
'19/BH5UNeI1sGT5/Kg2k2rHVpuqzcvlS/qctIENgCNMo49l3LrkHbJPXKJ6bf+T2\n' +
'8lFWRP2kVlrx/cHdqSi6aHoGTAOBhAACgYBTNeXBHbWDOxzSJcD6q4UDGTnHaHHP\n' +
'JgeCrPkH6GBa9azUsZ+3MA98b46yhWO2QuRwmFQwPiME+Brim3tHlSuXbL1e5qKf\n' +
'GOm3OxA3zKXG4cjy6TyEKajYlT45Q+tgt1L1HuGAJjWFRSA0PP9ctC6nH+2N3HmW\n' +
'RTcms0CPio56gg==\n' +
'-----END PUBLIC KEY-----\n'
};
Settings.providers = {
View
@@ -3,20 +3,7 @@
var CHANNELS = ['stable', 'beta', 'nightly'],
FILENAME = 'package.nw.new',
VERIFY_PUBKEY =
'-----BEGIN PUBLIC KEY-----\n' +
'MIIBtjCCASsGByqGSM44BAEwggEeAoGBAPNM5SX+yR8MJNrX9uCQIiy0t3IsyNHs\n' +
'HWA180wDDd3S+DzQgIzDXBqlYVmcovclX+1wafshVDw3xFTJGuKuva7JS3yKnjds\n' +
'NXbvM9CrJ2Jngfd0yQPmSh41qmJXHHSwZfPZBxQnspKjbcC5qypM5DqX9oDSJm2l\n' +
'fM/weiUGnIf7AhUAgokTdF7G0USfpkUUOaBOmzx2RRkCgYAyy5WJDESLoU8vHbQc\n' +
'rAMnPZrImUwjFD6Pa3CxhkZrulsAOUb/gmc7B0K9I6p+UlJoAvVPXOBMVG/MYeBJ\n' +
'19/BH5UNeI1sGT5/Kg2k2rHVpuqzcvlS/qctIENgCNMo49l3LrkHbJPXKJ6bf+T2\n' +
'8lFWRP2kVlrx/cHdqSi6aHoGTAOBhAACgYBTNeXBHbWDOxzSJcD6q4UDGTnHaHHP\n' +
'JgeCrPkH6GBa9azUsZ+3MA98b46yhWO2QuRwmFQwPiME+Brim3tHlSuXbL1e5qKf\n' +
'GOm3OxA3zKXG4cjy6TyEKajYlT45Q+tgt1L1HuGAJjWFRSA0PP9ctC6nH+2N3HmW\n' +
'RTcms0CPio56gg==\n' +
'-----END PUBLIC KEY-----\n';
VERIFY_PUBKEY = Settings.updateKey;
function forcedBind(func, thisVar) {
return function () {

0 comments on commit 8e6382a

Please sign in to comment.