Portable desktop applications can be built utilizing Kiss in conjunction with Electron (https://electronjs.org). These applications would be portable to Linux, macOS, Windows, BSD, and other platforms with a single codebase.
Both the front-end and back-end are built exactly as a browser-based application would be built. The only difference is how the system is run.
Before a desktop application can be built, the electron system must be installed. This, in turn, is dependent on nodejs and npm.
Full instructions to install nodejs and npm can be found at https://nodejs.org
Linux systems that use the apt package manager can install nodejs and npm with the following command:
sudo apt install nodejs npm
Linux systems that use the dnf package manager can install nodejs and npm with the following command:
sudo dnf install nodejs
Other systems can install nodejs and npm as instructed at https://nodejs.org
You can install electron on any OS from within the KISS application with the following command:
npm install electron --save-dev
The KISS application is built no differently than if it were a browser application. You can use the following command:
You can build the system with the following command:
./bld build [all OS except Windows] or bld build [Windows]
The system can be run as an application by executing the following command:
npm start
If you are developing and need the front-end developer tools, simply edit the file named start-electron.js Change the value of the variable named devMode from false to true. Then just start normally.
When you do this, you will get the beloved developer tools window along with the application.