mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: add support for readonly,deprecated and platform doc annotations (#19478)
This commit is contained in:
@@ -37,7 +37,7 @@ Object.defineProperty(app, 'applicationMenu', {
|
||||
}
|
||||
})
|
||||
|
||||
app.isPackaged = (() => {
|
||||
App.prototype.isPackaged = (() => {
|
||||
const execFile = path.basename(process.execPath).toLowerCase()
|
||||
if (process.platform === 'win32') {
|
||||
return execFile !== 'electron.exe'
|
||||
|
||||
Reference in New Issue
Block a user