-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Send script and encrypt. Save alongside a saved script or otherwise prompt for an output path.
For now, send this snippet to Cavalry. Make sure to change the inputPath and outputPath.
const inputPath = '/absolute/path/to/file.js'
const outputPath = '/absolute/path/to/outfile.jsc'
const content = api.readFromFile(inputPath)
const encrypted = api.encrypt(content)
const success = api.writeToFile(outputPath, encrypted, true)
console.log(JSON.stringify({success}))Metadata
Metadata
Assignees
Labels
No labels