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

duckstation-preview: fix shortcut issue, update bios link #1283

Merged
merged 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
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
17 changes: 11 additions & 6 deletions bucket/duckstation-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"notes": [
"ATTENTION: Duckstation requires a PSX BIOS to function.",
"Place the BIOS file in $persist_dir\\bios",
"Learn more at: https://www.duckstation.org/wiki/BIOS"
"Learn more at: https://web.archive.org/web/20210620033009/https://www.duckstation.org/wiki/BIOS"
],
"url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip",
"hash": "f646b1bfc63e0832558bc19242c7fc1cc4c04ed4c252104c04b2f4f5e7e7918a",
Expand All @@ -24,11 +24,16 @@
"uninstaller": {
"script": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force"
},
"shortcuts": [
[
"duckstation-qt-x64-ReleaseLTCG.exe",
"DuckStation (preview)"
]
"post_install": [
"echo \"update bin/shortcuts\"",
"$shell = New-Object -COM WScript.Shell",
"$shortcut = $shell.CreateShortCut(\"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\")",
"$shortcut.TargetPath = \"$original_dir\\duckstation-qt-x64-ReleaseLTCG.exe\"",
"$shortcut.Save()"
],
"post_uninstall": [
"echo \"update bin/shortcuts\"",
"Remove-Item \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\""
],
"persist": [
"bios",
Expand Down
17 changes: 11 additions & 6 deletions bucket/duckstation.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"notes": [
"ATTENTION: Duckstation requires a PSX BIOS to function.",
"Place the BIOS file in $persist_dir\\bios",
"Learn more at: https://www.duckstation.org/wiki/BIOS"
"Learn more at: https://web.archive.org/web/20210620033009/https://www.duckstation.org/wiki/BIOS"
],
"url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip",
"hash": "570516689115e77c8898bf85cc0b24a1055fd21f56a4fe70954b08e47b00277c",
Expand All @@ -24,11 +24,16 @@
"uninstaller": {
"script": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force"
},
"shortcuts": [
[
"duckstation-qt-x64-ReleaseLTCG.exe",
"Duckstation"
]
"post_install": [
"echo \"update bin/shortcuts\"",
"$shell = New-Object -COM WScript.Shell",
"$shortcut = $shell.CreateShortCut(\"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation.lnk\")",
"$shortcut.TargetPath = \"$original_dir\\duckstation-qt-x64-ReleaseLTCG.exe\"",
"$shortcut.Save()"
],
"post_uninstall": [
"echo \"update bin/shortcuts\"",
"Remove-Item \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation.lnk\""
],
"persist": [
"bios",
Expand Down