Note! This project is not under active development. Please use the OpenShift Local extension for Podman Desktop instead.
$ make release
You also need to add crc
binary to the app.
For macOS, please also run:
$ cp <path to crc release binary> release/tray-electron-darwin-x64/tray-electron.app/Contents/Resources/app/
To build the Electron tray you need to install nodejs in your system
We suggest you install nvm
or nvs
and use it to install nodejs version 16.13.1
-
Install NodeJS
The following instructions are from nodejs.dev
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash $ nvm install 16.13.1
PS> choco install nvs PS> nvs add 16.13.1 PS> nvs use 16.13.1
-
Clone the repository and use
make
to build the tray app$ git clone https://github.com/code-ready/tray-electron.git $ cd tray-electron $ make
NOTE
While making changes to the UI it is handy to see the rendered pages live as you are doing the changes
Starts electron concurrently with a live server which watches for changes and reloads as you save
$ make dev