Skip to content

Commit

Permalink
duckstation, duckstation-preview: Fix shortcut issue, update BIOS wik…
Browse files Browse the repository at this point in the history
…i link (#1283)

Duckstation doesn't want to open in a junction folder, so I made its shortcut point to the original folder.

I also used the archive.org link for the BIOS wiki page. I would have used a different wiki or comparable link,
but could not find anything with a quick search.
  • Loading branch information
AndreiVernon authored Dec 11, 2024
1 parent cf15b62 commit 2cec54f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
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

0 comments on commit 2cec54f

Please sign in to comment.