omnilert_desktop_alert

1.2.404 • Public • Published

Creating an installer on Mac and Windows

To create on mac is Very easy

1.) run yarn to install dependencies

yarn

3.) run our bundle script

yarn bundle

2.) run our mac distribution script

yarn dist-mac

This will place a dist folder at the root of your local repo.

NOTE: If the electron-builder package is not set to version "electron-builder": "24.0.0" or greater, the build will fail.

To Create the NSIS, Run These CMD Scripts in Order

  1. Install Dependencies

    • Run the following command to install dependencies:

      yarn

  2. Bundle the App

    • Use yarn to bundle the app:

      yarn bundle

  3. Build the Application

    • Per-User Install

      • Run the following command for a per-user installation:

        yarn dist-win-user

    • Per-Machine Install

      • Run the following command for a per-machine installation:

        yarn dist-win-machine

Code Signing on Windows

Contact a manager for a omnilert-oda-signing.pfx and paste it into the root of the project.

To ensure the application is signed on build, add the following environment variables to your Windows environment (Start > Edit the system environment varialbes > Environment Variables).

  1. CSC_LINK: path to .pfx
  2. CSC_KEY_PASSWORD: certificate password

Contact a Omnilert manager for the CSC_KEY_PASSWORD.

Installing on Mac and Windows

Mac

After building the Mac distribution, Double-clicking the dmg file will prompt the user to drag and drop our app into the applications folder.

Windows

Installing ODA

Command Line Installation:

  • Open the command line interface, navigate to the installer directory and run the following command:
    installer.exe PAC=yourPersonalAccessCode /S
    
    • Replace yourPersonalAccessCode with your actual PAC.
    • The /S switch installs the application silently, bypassing the installer UI, which is typically used for per-machine installations.
  1. Registry Information:
    • Your PAC will be stored in the registry:
      • Per-User Installations: Stored in HKCU (HKEY_CURRENT_USER)
      • Per-Machine Installations: Stored in HKLM (HKEY_LOCAL_MACHINE)

Readme

Keywords

none

Package Sidebar

Install

npm i omnilert_desktop_alert

Weekly Downloads

108

Version

1.2.404

License

ISC

Unpacked Size

1.43 MB

Total Files

79

Last publish

Collaborators

  • chakafasano88