Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sabaki.json #600

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create sabaki.json
Sabaki serves as a go board and is a popular tool among go players.
We are not entirely sure if the autoupdate section works and would like to ask a sanity check on it. When  we try to run `checkver.ps1 sabaki <dir> -u` on an older version we get `ERROR You cannot call a method on a null-valued expression.` Don't know what to make of it.
  • Loading branch information
Zim-the-Vixen authored Mar 26, 2022
commit c370fe746eafaae6a65c35af7f3e7ec01439d86e
50 changes: 50 additions & 0 deletions bucket/sabaki.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.52.0",
"description": "An elegant Go board and SGF editor for a more civilized age.",
"homepage": "https://sabaki.yichuanshen.de",
"license": "MIT",
"depends": "7zip",
"architecture": {
"64bit": {
"url": "https://github.com/SabakiHQ/Sabaki/releases/download/v0.52.0/sabaki-v0.52.0-win-x64-setup.exe#/setup.7z",
"installer": {
"script": [
"try {7z x \"$dir\\`$PLUGINSDIR\\app-64.7z\" -o\"$dir\"}",
"catch {Write-Error \"7Zip needs to be in the path\"; exit 1}"
]
}
},
"32bit": {
"url": "https://github.com/SabakiHQ/Sabaki/releases/download/v0.52.0/sabaki-v0.52.0-win-ia32-setup.exe#/setup.7z",
"installer": {
"script": [
"try {7z x \"$dir\\`$PLUGINSDIR\\app-32.7z\" -o\"$dir\"}",
"catch {Write-Error \"7Zip needs to be in the path\"; exit 1}"
]
}
}
},
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall*\" -Recurse",
"bin": [
"Sabaki.exe"
],
"shortcuts": [
[
"Sabaki.exe",
"Sabaki"
]
],
"checkver": {
"github": "https://github.com/SabakiHQ/Sabaki"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/SabakiHQ/Sabaki/releases/download/v$version/sabaki-v$version-win-x64-setup.exe#/setup.7z"
},
"32bit": {
"url": "https://github.com/SabakiHQ/Sabaki/releases/download/v$version/sabaki-v$version-win-ia32-setup.exe#/setup.7z"
}
}
}
}