mirror of
https://github.com/Calinou/scoop-games.git
synced 2026-07-31 11:33:59 +08:00
54 lines
2.3 KiB
JSON
54 lines
2.3 KiB
JSON
{
|
|
"url": "https://github.com/Moulberry/PandoraLauncher/releases/download/v5.3.1/PandoraLauncher-Windows-x86_64-Portable.exe",
|
|
"description": "Pandora is a modern Minecraft launcher that balances ease-of-use with powerful instance management features",
|
|
"homepage": "https://pandora.moulberry.com/",
|
|
"version": "5.3.1",
|
|
"license": "MIT",
|
|
"hash": "8682ce95cde168ca3e729f5695a1ffb7e81f8b6851416f29d923f5603c70b937",
|
|
"shortcuts": [
|
|
[
|
|
"PandoraLauncher-Windows-x86_64-Portable.exe",
|
|
"Pandora Launcher"
|
|
]
|
|
],
|
|
"persist": [
|
|
"PandoraLauncher/assets",
|
|
"PandoraLauncher/instances",
|
|
"PandoraLauncher/synced"
|
|
],
|
|
"post_install": [
|
|
"# Thx to the Prism Launcher json for making this alot easier!",
|
|
"# Hardlinks cannot work properly here, as this app would create a new file instead of writing directly.",
|
|
"# Please keep the file list the same in both pre_install and pre_uninstall scripts.",
|
|
"$contents = @{",
|
|
"}",
|
|
"'accounts.json', 'interface.json', 'config.json' | ForEach-Object {",
|
|
" if (Test-Path \"$persist_dir\\$_\") {",
|
|
" Copy-Item \"$persist_dir\\$_\" \"$dir\\PandoraLauncher\\$_\" -Force",
|
|
" } else {",
|
|
" Set-Content -Path \"$dir\\PandoraLauncher\\$_\" -Value $contents[$_]",
|
|
" }",
|
|
"}"
|
|
],
|
|
"pre_uninstall": [
|
|
"# Thx to the Prism Launcher json for making this alot easier!",
|
|
"# Hardlinks cannot work properly here, as this app would create a new file instead of writing directly.",
|
|
"# Please keep the file list the same in both pre_install and pre_uninstall scripts.",
|
|
"'accounts.json', 'interface.json', 'config.json' | ForEach-Object {",
|
|
" if (Test-Path -Path \"$dir\\PandoraLauncher\\$_\") {",
|
|
" Copy-Item -Path \"$dir\\PandoraLauncher\\$_\" -Destination \"$persist_dir\\$_\" -Force",
|
|
" }",
|
|
"}"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/Moulberry/PandoraLauncher"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/Moulberry/PandoraLauncher/releases/download/$version/PandoraLauncher-Windows-x86_64-Portable.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|