53 lines
2.4 KiB
JSON
Executable file
53 lines
2.4 KiB
JSON
Executable file
{
|
|
"$schema": "./installables.schema.json",
|
|
|
|
"Applications": [
|
|
{
|
|
"Name": "vagrant",
|
|
"VersionCommand": [ "vagrant", "-v" ],
|
|
"VersionRegex": "Vagrant (.*)",
|
|
"Version": "2.2.19",
|
|
"DmgUrl": "https://releases.hashicorp.com/vagrant/2.2.19/vagrant_2.2.19_x86_64.dmg",
|
|
"Sha256": "6307BE217813A11C9E106448BF232803031E434A08C8B2DF8C62FDC9E8543845",
|
|
"InstallerPath": "vagrant.pkg"
|
|
},
|
|
{
|
|
"Name": "Parallels",
|
|
"VersionCommand": [ "cat", "/Applications/Parallels Desktop.app/Contents/Info.plist" ],
|
|
"VersionRegex": "<key>CFBundleShortVersionString</key>[\\n\\t ]*<string>([0-9.]+)</string>",
|
|
"Version": "17.1.1",
|
|
"DmgUrl": "https://download.parallels.com/desktop/v17/17.1.1-51537/ParallelsDesktop-17.1.1-51537.dmg",
|
|
"Sha256": "BD7BE2DF4D1B3508C127CF1D9C1EF93CDDA63384BCF3893A77FBC9F1169765A9",
|
|
"InstallationCommands": [
|
|
[ "bash", "-c", "ps x | grep 'Parallels Desktop' | grep -v 'grep' | sed -E 's/^ *([0-9]+).*(\\/Applications.*)$/\\1: \\2/'" ],
|
|
[ "bash", "-c", "ps x | grep 'Parallels Desktop' | grep -v 'grep' | sed -E 's/^ *([0-9]+).*$/\\1/' | xargs -p kill" ],
|
|
[ "sudo", "rm", "-rf", "/Applications/Parallels Desktop.app" ],
|
|
[ "sudo", "cp", "-r", "/Volumes/setup-installer/Parallels Desktop.app", "/Applications" ],
|
|
[ "sudo", "/Applications/Parallels Desktop.app/Contents/MacOS/inittool2", "init", "-b", "/Applications/Parallels Desktop.app" ]
|
|
]
|
|
},
|
|
{
|
|
"Name": "osxfuse",
|
|
"VersionCommand": [ "cat", "/Library/Filesystems/macfuse.fs/Contents/version.plist" ],
|
|
"VersionRegex": "<key>CFBundleVersion</key>[\\n\\t ]*<string>([0-9.]+)</string>",
|
|
"Version": "4.2.4",
|
|
"DmgUrl": "https://github.com/osxfuse/osxfuse/releases/download/macfuse-4.2.4/macfuse-4.2.4.dmg",
|
|
"Sha256": "82A2C30B3A7BF56AA2755C0C192FB50D9EECC3FE42505AB4E8679B50306188BD",
|
|
"InstallerPath": "Install macFUSE.pkg"
|
|
},
|
|
{
|
|
"Name": "sshfs",
|
|
"VersionCommand": [ "sshfs", "--version" ],
|
|
"VersionRegex": "SSHFS version [0-9.]* \\(OSXFUSE SSHFS (.*)\\)",
|
|
"Version": "2.5.0",
|
|
"PkgUrl": "https://github.com/osxfuse/sshfs/releases/download/osxfuse-sshfs-2.5.0/sshfs-2.5.0.pkg",
|
|
"Sha256": "F8F4F71814273EA42DBE6CD92199F7CFF418571FFD1B10C0608878D3472D2162"
|
|
}
|
|
],
|
|
"VagrantPlugins": [
|
|
{
|
|
"Name": "vagrant-parallels",
|
|
"Version": "2.2.4"
|
|
}
|
|
]
|
|
}
|