Revert change to electron updater exports

This commit is contained in:
Travis Ralston 2020-01-14 10:03:24 -07:00
parent a978a6734f
commit f2da98b136

View file

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