Update api.md

This commit is contained in:
2021-04-25 21:00:01 +00:00
parent 0a881cf175
commit a071a07fcd
+2
View File
@@ -49,6 +49,8 @@ Returns the process arguments
Returns the `log4js` logger.
### api.getWindow() (`BrowserWindow`)
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`)
Returns the absolute path to L'Math's data folder
### api.getTempFolder() (`String`)