A simple cross platform graphical user interface (GUI) wrapper to launch executable desktop applications. Buildt with JavaScript, HTML, and CSS. Compatible with Windows, Linux and MacOS. Download the latest version here.
To get a local copy up and running follow these simple steps.
- Clone the project or download from Github (
git clone --recursive /~https://github.com/frodal/GUIwrapper.git
) - Install Node.js and on the screen that allows you to configure the installation, make sure to select the
Node.js runtime
,npm package manager
, andAdd to PATH
options - Install the required packages/dependencies such as Electron and Electron-packager by running
npm install
using the command line in the GUIwrapper directory - Then run
npm start
in the GUIwrapper directory to start the GUIwrapper application
See releases for prebuilt binaries, or build it yourself by following these steps
- First, make sure to do steps 1-3 above
- Then run
npm run build
in the GUIwrapper directory to build for all suported platforms, i.e., Windows, Linux and MacOS. Note that this will build to a directory outside of the GUIwrapper directory, i.e.,../GUIwrapperBinaries/
Note: To build for only one platform and architecture use the following build commands for; Windows ia32 (x86) npm run build-win32
, Windows x64 npm run build-win64
, Linux x64 npm run build-linux64
, and MacOS x64 npm run build-darwin64
See releases for prebuilt installers
- First, make sure to do steps 1-2 under the Build section
- Then run
npm run setup
in the GUIwrapper directory to build the windows installer. Note that this will build to a directory outside of the GUIwrapper directory, i.e.,../GUIwrapperBinaries/
A Linux or MacOS system is required for these steps.
- First, make sure to do steps 1-2 under the Build section
- To make a Debian package for the GUIwrapper application, install Electron-installer-debian by running
npm install --save-dev electron-installer-debian
using the command line in the GUIwrapper directory - Then run
npm run setup-debian
in the GUIwrapper directory to build a Linux x64 debian package. Note that this will build to a directory outside of the GUIwrapper directory, i.e.,../GUIwrapperBinaries/
See also the links below to create other platform specific distributables
- electron-installer-zip - creates symlink-compatible ZIP files
Windows:
- electron-winstaller - Squirrel.Windows-based installer from the Electron maintainers group
- electron-windows-store - creates an AppX package for the Windows Store
- electron-wix-msi - creates traditional MSI installers
- electron-installer-windows - alternative Squirrel.Windows-based installer
macOS:
- electron-installer-dmg - creates a DMG
Linux:
- electron-installer-debian - creates a DEB file
- electron-installer-redhat - creates an RPM
- electron-installer-flatpak - creates a Flatpak file
- electron-installer-snap - creates a Snap file
- Update all GUI dependencies by running
npm update
using the command line in the GUIwrapper directory - Install/update Electron by running
npm install --save-dev electron@latest
using the command line in the GUIwrapper directory - Install/update Electron-packager by running
npm install --save-dev electron-packager@latest
using the command line in the GUIwrapper directory - Install/update Electron-installer-windows by running
npm install --save-dev electron-installer-windows@latest
using the command line in the GUIwrapper directory
To contribute:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
See LICENSE.md
for more information.
Bjørn Håkon Frodal - @frodal - bjorn.h.frodal@ntnu.no
Project Link: /~https://github.com/frodal/GUIwrapper