Skip to content

Commit

Permalink
Fix all autoupdates
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Dec 4, 2023
1 parent f6c6d7c commit f51cabb
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 56 deletions.
2 changes: 1 addition & 1 deletion bucket/byond-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://secure.byond.com",
"license": "Proprietary",
"url": "https://www.byond.com/download/build/515/515.1620_byond.zip",
"hash": "sha256:a5705cbfd93d67997bedce78908a5da3e5c344be8977d5007c5eb7590c783d6d",
"hash": "a5705cbfd93d67997bedce78908a5da3e5c344be8977d5007c5eb7590c783d6d",
"extract_dir": "byond",
"bin": "bin\\byond.exe",
"notes": "This relies on the normal BYOND package, to avoid conflicting persistent data, as you cannot have separate BYOND userdirs for stable and beta versions.",
Expand Down
8 changes: 3 additions & 5 deletions bucket/byond.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://secure.byond.com",
"license": "Proprietary",
"url": "https://www.byond.com/download/build/514/514.1589_byond.zip",
"hash": "sha256:3a6764c63e3ea0d4c5386ed0873fe999aa99a3fbbbec29dd18835391337a9864",
"hash": "3a6764c63e3ea0d4c5386ed0873fe999aa99a3fbbbec29dd18835391337a9864",
"extract_dir": "byond",
"bin": "bin\\byond.exe",
"suggest": {
Expand All @@ -17,11 +17,9 @@
["bin\\dreamseeker.exe", "Dream Seeker"],
["bin\\dreammaker.exe", "Dream Maker"]
],
"persist": ["data"],
"persist": "data",
"env_add_path": "bin",
"post_install": [
"New-ItemProperty -Path \"HKCU:\\Software\\Dantom\\BYOND\" -Name \"userpath\" -Value \"$persist_dir\\data\" -PropertyType String -Force"
],
"post_install": "New-ItemProperty -Path \"HKCU:\\Software\\Dantom\\BYOND\" -Name \"userpath\" -Value \"$persist_dir\\data\" -PropertyType String -Force",
"checkver": {
"url": "https://secure.byond.com/download/version.txt",
"regex": "^(?<stable_major>[0-9]{3})\\.(?<stable_minor>[0-9]{4})[\\n\\r]{1,2}(?<beta_major>[0-9]{3})\\.(?<beta_minor>[0-9]{4})$",
Expand Down
79 changes: 41 additions & 38 deletions bucket/gitoxide.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
{
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
"version": "0.31.1",
"description": "gitoxide is an implementation of git written in Rust for developing future-proof applications which strive for correctness and performance while providing a pleasant and unsurprising developer experience.",
"homepage": "https://github.com/Byron/gitoxide",
"license": "Apache-2.0 | MIT",
"bin": ["gix.exe", "ein.exe"],
"suggest": {
"vcredist": "extras/vcredist"
},
"architecture": {
"64bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v0.31.1/gitoxide-max-v0.31.1-x86_64-pc-windows-msvc.zip",
"hash": "sha256:24f8a3c295e87d5a06fe3720789a756d9c978910a4d0cb05532ca5c30ed64a8c",
"extract_dir": "gitoxide-max-v0.31.1-x86_64-pc-windows-msvc"
},
"32bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v0.31.1/gitoxide-max-v0.31.1-i686-pc-windows-msvc.zip",
"hash": "sha256:8c9078b702be5ae934a2764d23fe6f590747e22dd3f28f1446cd5fd7b467271c",
"extract_dir": "gitoxide-max-v0.31.1-i686-pc-windows-msvc"
}
},
"checkver": {
"url": "https://api.github.com/repositories/136510559/releases/latest",
"jsonpath": "$..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+)/gitoxide-max-v([\\d.]+)-x86_64-pc-windows-msvc\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v$matchTag/gitoxide-max-v$matchVersion-x86_64-pc-windows-msvc.zip",
"extract_dir": "gitoxide-max-v$matchVersion-x86_64-pc-windows-msvc"
},
"32bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v$matchTag/gitoxide-max-v$matchVersion-i686-pc-windows-msvc.zip",
"extract_dir": "gitoxide-max-v$matchVersion-i686-pc-windows-msvc"
}
}
}
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
"version": "0.31.1",
"description": "gitoxide is an implementation of git written in Rust for developing future-proof applications which strive for correctness and performance while providing a pleasant and unsurprising developer experience.",
"homepage": "https://github.com/Byron/gitoxide",
"license": "Apache-2.0 | MIT",
"bin": [
"gix.exe",
"ein.exe"
],
"suggest": {
"vcredist": "extras/vcredist"
},
"architecture": {
"64bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v0.31.1/gitoxide-max-v0.31.1-x86_64-pc-windows-msvc.zip",
"hash": "24f8a3c295e87d5a06fe3720789a756d9c978910a4d0cb05532ca5c30ed64a8c",
"extract_dir": "gitoxide-max-v0.31.1-x86_64-pc-windows-msvc"
},
"32bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v0.31.1/gitoxide-max-v0.31.1-i686-pc-windows-msvc.zip",
"hash": "8c9078b702be5ae934a2764d23fe6f590747e22dd3f28f1446cd5fd7b467271c",
"extract_dir": "gitoxide-max-v0.31.1-i686-pc-windows-msvc"
}
},
"checkver": {
"url": "https://api.github.com/repositories/136510559/releases/latest",
"jsonpath": "$..browser_download_url",
"regex": "download/v(?<tag>[\\d.]+)/gitoxide-max-v([\\d.]+)-x86_64-pc-windows-msvc\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v$matchTag/gitoxide-max-v$matchTag-x86_64-pc-windows-msvc.zip",
"extract_dir": "gitoxide-max-v$matchTag-x86_64-pc-windows-msvc"
},
"32bit": {
"url": "https://github.com/Byron/gitoxide/releases/download/v$matchTag/gitoxide-max-v$matchTag-i686-pc-windows-msvc.zip",
"extract_dir": "gitoxide-max-v$matchTag-i686-pc-windows-msvc"
}
}
}
}
24 changes: 12 additions & 12 deletions bucket/spacemandmm.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-1.8/dreamchecker.exe"
],
"hash": [
"sha256:1e620c51ea0677c7cfcfd405467777179e5fc028bb0e712528616bf94eb94529",
"sha256:4fe3d2971ef3db45fa66e0c06df9f9def8c9107f39adf04777f06d528c9461e4",
"sha256:40adc6ba3c1c0049f0abcddf1669e7ef00bea3c384547688e634b0bc5903ea09",
"sha256:8e9b05dd8b442d1a48a4b9273d91b93683b5e21bbee84d30270e0aef17ce2cc1"
"1e620c51ea0677c7cfcfd405467777179e5fc028bb0e712528616bf94eb94529",
"4fe3d2971ef3db45fa66e0c06df9f9def8c9107f39adf04777f06d528c9461e4",
"40adc6ba3c1c0049f0abcddf1669e7ef00bea3c384547688e634b0bc5903ea09",
"8e9b05dd8b442d1a48a4b9273d91b93683b5e21bbee84d30270e0aef17ce2cc1"
]
}
},
Expand All @@ -39,26 +39,26 @@
"architecture": {
"64bit": {
"url": [
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/dm-langserver.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/dmdoc.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/dmm-tools.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/dreamchecker.exe"
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/dm-langserver.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/dmdoc.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/dmm-tools.exe",
"https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/dreamchecker.exe"
],
"hash": [
{
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/suite-$matchVersion.sha256",
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/suite-$matchTag.sha256",
"find": "^$sha256\\s+[A-z\\/]+dm-langserver.exe$"
},
{
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/suite-$matchVersion.sha256",
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/suite-$matchTag.sha256",
"find": "^$sha256\\s+[A-z\\/]+dmdoc.exe$"
},
{
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/suite-$matchVersion.sha256",
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/suite-$matchTag.sha256",
"find": "^$sha256\\s+[A-z\\/]+dmm-tools.exe$"
},
{
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchVersion/suite-$matchVersion.sha256",
"url": "https://github.com/SpaceManiac/SpacemanDMM/releases/download/suite-$matchTag/suite-$matchTag.sha256",
"find": "^$sha256\\s+[A-z\\/]+dreamchecker.exe$"
}
]
Expand Down

0 comments on commit f51cabb

Please sign in to comment.