Useful utilities for Electron apps and modules. You can use this module directly in both the main and renderer process. This package is not compatible with Electron v12 and later. Access the Electron APIs in both the main and renderer process without having to care about which one you're in. The app API is usually only available in the main process. Accepts an object with the keys as either macos, windows, linux, or default, and picks the appropriate key depending on the current platform. If no platform key is matched, the default key is used if it exists. If the value is a function, it will be executed, and the returned value will be used. On macOS, for security reasons, if an app is launched outside the Applications folder, it will run in a read-only disk image, which could cause subtle problems for your app. Use this method to ensure the app lives in the Applications folder.

Features

  • Requires Electron 5 or later
  • The app API is usually only available in the main process
  • Run some JavaScript in the active or given window
  • Returns a promise for the result of the executed code or a rejected promise if the result is a rejected promise
  • The app is a Windows Store AppX build
  • The app is an Mac App Store build

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow electron-util

electron-util Web Site

Other Useful Business Software
Outbound sales software Icon
Outbound sales software

Unified cloud-based platform for dialing, emailing, appointment scheduling, lead management and much more.

Adversus is an outbound dialing solution that helps you streamline your call strategies, automate manual processes, and provide valuable insights to improve your outbound workflows and efficiency.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of electron-util!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2022-10-03