diff --git a/electron/aboutPage.js b/electron/aboutPage.js index e5c1a05..2982a74 100644 --- a/electron/aboutPage.js +++ b/electron/aboutPage.js @@ -2,7 +2,7 @@ const openAboutWindow = require('about-window').default; const join = require('path').join; module.exports = { - label: 'About Arctic Viewer', + label: 'About ParaViewWeb Visualizer', click: () => openAboutWindow({ icon_path: join(__dirname, 'icon.png'), package_json_dir: join(__dirname, '../'), diff --git a/electron/index.js b/electron/index.js index 17055b7..a1d5419 100644 --- a/electron/index.js +++ b/electron/index.js @@ -25,7 +25,7 @@ function findFile(basePath, fileName) { function updateConfig(basepath) { const config = {}; - config.pvbatch = findFile(basepath[0], 'pvbatch'); + config.pvbatch = findFile(basepath[0], 'pvpython'); config.visualizer = findFile(basepath[0], 'pvw-visualizer.py'); if (config.visualizer) { config.www = path.join(path.dirname(path.dirname(config.visualizer)), 'www'); @@ -107,6 +107,7 @@ function startServer() { getPort().then((port) => { const cmd = [ `"${settings.get('paraview.pvbatch')}"`, + '--force-offscreen-rendering', `"${settings.get('paraview.visualizer')}"`, '--content', `"${settings.get('paraview.www')}"`,