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 all commits
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
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}"
]
}
Comment on lines +10 to +15
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, why is this installer script needed? Scoop can handle unzipping with 7-zip as long as it's already installed and present in the PATH.

},
"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"
}
}
}
}