forked from matrix/element-web
Revert change to electron updater exports
This commit is contained in:
parent
a978a6734f
commit
f2da98b136
|
@ -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 + '/';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue