Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This API is called from a command line script to update the copy of Profound UI used by Profound.js. This should only be used on a non-IBM i system because the proper way to install Profound UI on IBM i is by downloading the Windows Executable (GUI) Installer or the Save File (5250) Installer from http://www.profoundlogic.com/download.

The API will first check if the an updated version of Profound UI is available. If an update is available, the user is prompted with an option to download the update. Once the download completes, it is extracted into the configured directory as specified by the staticFilesDirectory setting.

Profound.js ships with a script named updatepui.js that provides for a simple way to use this API. You can call it like this:

node updatepui

 

Example

updatepui.js
// Load Profound.js
var profoundjs = require("profoundjs");

// Apply configuration
var config = require("./config.js");
profoundjs.applyConfig(config);

// Try updating Profound UI
profoundjs.updatepui();
  • No labels