electron/lib/browser/api/auto-updater.ts

6 lines
176 B
TypeScript
Raw Normal View History

2020-07-01 19:27:12 +00:00
if (process.platform === 'win32') {
module.exports = require('./auto-updater/auto-updater-win');
} else {
module.exports = require('./auto-updater/auto-updater-native');
}