Skip to content
Desktops apps with Universal Dashboard
PowerShell JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Updates Sep 26, 2019
test
LICENSE Initial commit Sep 26, 2019
README.md Update README.md Oct 7, 2019
UniversalDashboard.Forge.psd1 Fixes #12 Oct 10, 2019
UniversalDashboard.Forge.psm1 Fixes #12 Oct 10, 2019
index.js Added ability to change port Sep 27, 2019

README.md

ud-forge

Build Desktop Apps with Universal Dashboard

About

Universal Dashboard Forge uses Electron and Electron Forge to build desktops apps with Universal Dashboard.

Installation

Install-Module UniversalDashboard.Forge

Requirements

Dashboard

Your dashboard file needs to be called dashboard.ps1, listen on the specified port and use the -Wait parameter of Start-UDDashboard.

Usage

Package a single ps1 file as a desktop application.

Import-Module UniversalDashboard.Forge
New-UDDesktopApp -Path .\dashboard.ps1 -OutputPath .\out -Name MyApp
.\out\MyApp\out\myapp-win32-x64\MyApp.exe

Package a folder as a desktop application. UDForge will verify that the folder contains a dashboard.ps1 file. This file should call Start-UDDashboard.

Import-Module UniversalDashboard.Forge
New-UDDesktopApp -Path .\dashboard -OutputPath .\out -Name MyApp
.\out\MyApp\out\myapp-win32-x64\MyApp.exe

Installer

An installer is also created in the output directory. This contains all the files necessary for electron, the app and Universal Dashboard.

.\MyApp\out\make\squirrel.windows\x64\myapp-1.0.0 Setup.exe
You can’t perform that action at this time.