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

OpenTyrian2000: game data and persistence #1175

Merged
merged 3 commits into from
Jul 5, 2024
Merged
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
48 changes: 36 additions & 12 deletions bucket/opentyrian2000.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,54 @@
"description": "Fork of OpenTyrian with support for Tyrian 2000",
"homepage": "https://github.com/KScl/opentyrian2000",
"license": "GPL-2.0-or-later",
"notes": [
"Place Tyrian 2000 game data files in:",
"",
" $persist_dir\\data"
],
"architecture": {
"32bit": {
"url": "https://github.com/KScl/opentyrian2000/releases/download/v2000.20240218/opentyrian2000-x86-Release.zip",
"hash": "f5b0384cad2ff5d97a965f7dfcde76695d2b1953ffd99b95978ad856046ded63"
"url": [
"https://github.com/KScl/opentyrian2000/releases/download/v2000.20240218/opentyrian2000-x86-Release.zip",
"https://www.camanis.net/tyrian/tyrian2000.zip"
],
"hash": [
"f5b0384cad2ff5d97a965f7dfcde76695d2b1953ffd99b95978ad856046ded63",
"348bc76e73514e452279b8730cf217daf0f70a282f07b6b94af653d87e921667"
]
},
"64bit": {
"url": "https://github.com/KScl/opentyrian2000/releases/download/v2000.20240218/opentyrian2000-x64-Release.zip",
"hash": "dc806e7678a40eb74ee2e2267aa5ecdf7b9af4455533d9d2e223698f6cbfa72d"
"url": [
"https://github.com/KScl/opentyrian2000/releases/download/v2000.20240218/opentyrian2000-x64-Release.zip",
"https://www.camanis.net/tyrian/tyrian2000.zip"
],
"hash": [
"dc806e7678a40eb74ee2e2267aa5ecdf7b9af4455533d9d2e223698f6cbfa72d",
"348bc76e73514e452279b8730cf217daf0f70a282f07b6b94af653d87e921667"
]
}
},
"extract_dir": "opentyrian2000",
"extract_dir": [
"opentyrian2000",
"tyrian2000"
],
"extract_to": [
"",
"data"
],
"pre_install": [
"Copy-Item \"$persist_dir\\opentyrian.cfg\" \"$dir\\opentyrian.cfg\" -ErrorAction 'SilentlyContinue'",
"Copy-Item \"$persist_dir\\tyrian.cfg\" \"$dir\\tyrian.cfg\" -ErrorAction 'SilentlyContinue'",
"Copy-Item \"$persist_dir\\tyrian.sav\" \"$dir\\tyrian.sav\" -ErrorAction 'SilentlyContinue'"
],
"shortcuts": [
[
"opentyrian2000.exe",
"OpenTyrian2000"
]
],
"persist": [
"data"
"pre_uninstall": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
"}",
"Copy-Item \"$dir\\opentyrian.cfg\" \"$persist_dir\\opentyrian.cfg\" -ErrorAction 'SilentlyContinue'",
"Copy-Item \"$dir\\tyrian.cfg\" \"$persist_dir\\tyrian.cfg\" -ErrorAction 'SilentlyContinue'",
"Copy-Item \"$dir\\tyrian.sav\" \"$persist_dir\\tyrian.sav\" -ErrorAction 'SilentlyContinue'"
],
"checkver": "github",
"autoupdate": {
Expand Down