8 lines
235 B
JavaScript
8 lines
235 B
JavaScript
'use strict'
|
|
|
|
const { deprecate } = require('electron')
|
|
|
|
deprecate.warn(`require('os')`, `remote.require('os')`)
|
|
|
|
const { getRemoteFor } = require('@electron/internal/renderer/remote')
|
|
module.exports = getRemoteFor('os').require('os')
|