docs: add support for readonly,deprecated and platform doc annotations (#19478)
This commit is contained in:
parent
12bbbef688
commit
db3cf52add
12 changed files with 53 additions and 68 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue