Revert change to electron updater exports

pull/11843/head
Travis Ralston 2020-01-14 10:03:24 -07:00
parent a978a6734f
commit f2da98b136
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ function pollForUpdates() {
} }
} }
export function start(updateBaseUrl) { module.exports = {};
module.exports.start = function startAutoUpdate(updateBaseUrl) {
if (updateBaseUrl.slice(-1) !== '/') { if (updateBaseUrl.slice(-1) !== '/') {
updateBaseUrl = updateBaseUrl + '/'; updateBaseUrl = updateBaseUrl + '/';
} }