mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 11:41:17 +02:00
Add temporary code to test for interface paths
This commit is contained in:
parent
fb3205a847
commit
6393f907b8
1 changed files with 4 additions and 0 deletions
|
@ -885,6 +885,9 @@ function onContentLoaded() {
|
||||||
// This method will be called when Electron has finished
|
// This method will be called when Electron has finished
|
||||||
// initialization and is ready to create browser windows.
|
// initialization and is ready to create browser windows.
|
||||||
app.on('ready', function() {
|
app.on('ready', function() {
|
||||||
|
var paths = pathFinder.searchPaths("interface", binaryType, buildInfo.releaseType);
|
||||||
|
dialog.showMessageBox({type: 'question', buttons: ['Yes', 'No'], title: "Paths", message: paths.join(", ")}, function () {});
|
||||||
|
|
||||||
|
|
||||||
if (app.dock) {
|
if (app.dock) {
|
||||||
// hide the dock icon on OS X
|
// hide the dock icon on OS X
|
||||||
|
@ -902,4 +905,5 @@ app.on('ready', function() {
|
||||||
updateTrayMenu(ProcessGroupStates.STOPPED);
|
updateTrayMenu(ProcessGroupStates.STOPPED);
|
||||||
|
|
||||||
maybeInstallDefaultContentSet(onContentLoaded);
|
maybeInstallDefaultContentSet(onContentLoaded);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue