Skip to content

Use Embedded copy of WebLogic Remote Console, if available #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion electron/app/js/wlRemoteConsoleUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const path = require('path');
const readline = require('readline');
const { app, BrowserWindow, dialog } = require('electron');
const fsPromises = require('fs/promises');
const fs = require('fs');

const userSettings = require('./userSettings');
const fsUtils = require('./fsUtils');
Expand Down Expand Up @@ -312,7 +313,10 @@ async function _getInstalledExecutablePath(rcHome) {
};

if (osUtils.isMac()) {
result['executable'] = path.join(rcHome, 'Contents', 'MacOS', 'WebLogic Remote Console');
result['executable'] = path.join(rcHome, 'Contents', 'MacOS', 'Embeddable Remote Console');
if (!fs.existsSync(result['executable'])) {
result['executable'] = path.join(rcHome, 'Contents', 'MacOS', 'WebLogic Remote Console');
}
} else if (osUtils.isWindows()) {
result['executable'] = path.join(rcHome, 'WebLogic Remote Console.exe');
} else {
Expand Down