mirror of https://github.com/vector-im/riot-web
Revert change to electron updater exports
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) !== '/') {
|
||||
updateBaseUrl = updateBaseUrl + '/';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue