mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
11 lines
396 B
TypeScript
11 lines
396 B
TypeScript
if (process.platform === 'win32') {
|
|
// windowsStore indicates whether the app is running as a packaged app (MSIX), even outside of the store
|
|
if (process.windowsStore) {
|
|
module.exports = require('./auto-updater/auto-updater-msix');
|
|
} else {
|
|
module.exports = require('./auto-updater/auto-updater-win');
|
|
}
|
|
} else {
|
|
module.exports = require('./auto-updater/auto-updater-native');
|
|
}
|