Add Plex-Server 1.14.1.5488-cc260c476 (#3046)

This commit is contained in:
Jakub Čábera 2019-02-01 18:24:10 +01:00 committed by Richard Kuhnt
parent b482426675
commit 6945247500

46
plex-server.json Normal file
View File

@ -0,0 +1,46 @@
{
"##": "https://support.plex.tv/articles/201941078-uninstall-plex-media-server/",
"version": "1.14.1.5488-cc260c476",
"description": "Plex Media Server. Stream content to all of devices, anywhere.",
"homepage": "https://www.plex.tv/",
"license": {
"identifier": "Proprietary",
"url": "https://support.plex.tv/articles/204096476-license-information/"
},
"depends": "wixtoolset",
"url": "https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/Plex-Media-Server-1.14.1.5488-cc260c476.exe#/installer.exe",
"hash": "sha1:9e285238a3d247fcf823981a0b22c27230a054dd",
"installer": {
"script": [
"$extracted = \"$dir\\extracted\"",
"$msi = \"$dir\\msi\"",
"&(scoop which dark) -nologo -x \"$extracted\" \"$dir\\installer.exe\" | Out-Null",
"extract_msi \"$extracted\\AttachedContainer\\pms.msi\" \"$msi\"",
"Move-Item \"$msi\\Msi\\*\" \"$dir\" -Force",
"Remove-Item $extracted, $msi, \"$dir\\installer.exe\" -Force -Recurse"
]
},
"bin": [
[
"Plex Media Server.exe",
"pms"
]
],
"shortcuts": [
[
"Plex Media Server.exe",
"Plex Media Server"
]
],
"checkver": {
"url": "https://plex.tv/api/downloads/1.json",
"jsonpath": "$.computer.windows.version"
},
"autoupdate": {
"url": "https://downloads.plex.tv/plex-media-server/$version/Plex-Media-Server-$version.exe#/installer.exe",
"hash": {
"url": "https://plex.tv/api/downloads/1.json",
"jsonpath": "$.computer.Windows.releases..checksum"
}
}
}