Update api.md
This commit is contained in:
parent
0a881cf175
commit
a071a07fcd
|
@ -49,6 +49,8 @@ Returns the process arguments
|
||||||
Returns the `log4js` logger.
|
Returns the `log4js` logger.
|
||||||
### api.getWindow() (`BrowserWindow`)
|
### api.getWindow() (`BrowserWindow`)
|
||||||
Returns the main Electron window of the app
|
Returns the main Electron window of the app
|
||||||
|
### api.getTouchBar() (`TouchBar` or `null`) – only on touchbar-capable macOS devices
|
||||||
|
Returns the currently used TouchBar object (or `null` if not applicable)
|
||||||
### api.getDataFolder() (`String`)
|
### api.getDataFolder() (`String`)
|
||||||
Returns the absolute path to L'Math's data folder
|
Returns the absolute path to L'Math's data folder
|
||||||
### api.getTempFolder() (`String`)
|
### api.getTempFolder() (`String`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user