Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.41 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.41 KB

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