Skip to content
forked from javan/gatemaker

macOS quarantine utilities for Node.js and Electron

License

Notifications You must be signed in to change notification settings

andersk/gatemaker

 
 

Repository files navigation

Gatemaker

macOS quarantine utilities for Node.js and Electron.

Usage

const quarantine = require("gatemaker")

const filePath = "~/Downloads/example.xyz"
const agentName = "Example App"

await quarantine(filePath, agentName)
// or…
quarantine.sync(filePath, agentName)

Electron Support

Load gatemaker/electron-setup in your main process to quarantine all downloads automatically.

require("gatemaker/electron-setup")
const { app } = require("electron")
// …

References

About

macOS quarantine utilities for Node.js and Electron

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.2%
  • Swift 9.8%