diff --git a/bucket/duckstation-preview.json b/bucket/duckstation-preview.json index 402e106f1bed..d4b0fa1f0c9c 100644 --- a/bucket/duckstation-preview.json +++ b/bucket/duckstation-preview.json @@ -1,5 +1,5 @@ { - "version": "20261117-g983acec", + "version": "20261120135206-e39940a", "description": "Fast PlayStation 1 emulator (preview build)", "homepage": "https://www.duckstation.org/", "license": { @@ -17,37 +17,33 @@ "architecture": { "64bit": { "url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip", - "hash": "0c2c15c74e36a40a2294e2aee2569b01d11f5cea33d0e4a6358dd77666a4d5aa", - "post_install": [ - "New-item \"$dir\\portable.txt\" -ItemType File | Out-Null", - "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()" - ], + "hash": "f7e4494edf05a97e5e23c9eea81cc0e84c634097d7a5f205e402589f3e53e020", "bin": [ [ "duckstation-qt-x64-ReleaseLTCG.exe", - "duckstation" + "duckstation-pre" + ] + ], + "shortcuts": [ + [ + "duckstation-qt-x64-ReleaseLTCG.exe", + "DuckStation (Preview)" ] ] }, "arm64": { "url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-arm64-release.zip", - "hash": "dfbd83f6a511af8a0dd060c30f4f292323d05a75fd100ee7f458a229a29a1fc4", - "post_install": [ - "New-item \"$dir\\portable.txt\" -ItemType File | Out-Null", - "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-ARM64-ReleaseLTCG.exe\"", - "$shortcut.Save()" - ], + "hash": "bb4c42cb63bd8041bd2392f62a3bd87730aec7a676954524e9c3fda602b3b6ef", "bin": [ [ "duckstation-qt-ARM64-ReleaseLTCG.exe", - "duckstation" + "duckstation-pre" + ] + ], + "shortcuts": [ + [ + "duckstation-qt-ARM64-ReleaseLTCG.exe", + "DuckStation (Preview)" ] ] } @@ -55,39 +51,46 @@ "pre_install": [ "if (!(Test-Path \"$persist_dir\")) {", " New-item \"$persist_dir\" -ItemType Directory | Out-Null", - " if (Test-Path \"$env:USERPROFILE\\Documents\\DuckStation\") {", + " $userData = \"$env:USERPROFILE\\Documents\\DuckStation\", \"$env:LOCALAPPDATA\\DuckStation\" | Where-Object { Test-Path $_ } | Select-Object -First 1", + " if ($userData) {", " Write-host \"Migrating AppData...\" -ForegroundColor yellow", - " Copy-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\\*\" -Destination \"$persist_dir\" -Recurse", - " Remove-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\" -Recurse", + " Copy-Item -Path \"$userData\\*\" -Destination \"$persist_dir\" -Recurse", + " New-Item \"$persist_dir\\settings.ini\" -Force -Value (((Get-Content \"$persist_dir\\settings.ini\" -Encoding utf8) -notmatch '^CheckAtStartup') + '[AutoUpdater]', 'CheckAtStartup = false' | Out-String) | Out-Null", + " Remove-Item -Path $userData -Recurse", " } else {", - " '[Main]', 'SettingsVersion = 3', '[AutoUpdater]', 'CheckAtStartup = false' | Set-Content \"$dir\\settings.ini\"", + " '[AutoUpdater]', 'CheckAtStartup = false' | Set-Content \"$dir\\settings.ini\"", " }", - "}" + "}", + "'custom_properties.ini', 'playtime.dat' | Where-Object { !(Test-Path \"$persist_dir\\$_\") } | ForEach-Object { New-Item \"$dir\\$_\" -ItemType File | Out-Null }" ], + "post_install": "New-Item \"$dir\\portable.txt\" -ItemType File | Out-Null", "persist": [ "bios", "cache", "cheats", "covers", - "dump", + "gameicons", "gamesettings", "inputprofiles", "memcards", + "patches", + "resources\\themes", "savestates", "screenshots", "shaders", + "subchannels", "textures", + "videos", + "watches", + "custom_properties.ini", + "playtime.dat", "settings.ini" ], - "pre_uninstall": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force", - "post_uninstall": [ - "echo \"update bin/shortcuts\"", - "Remove-Item \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\"" - ], + "pre_uninstall": "'settings.ini', 'custom_properties.ini' | ForEach-Object { try { Copy-Item \"$dir\\$_\" \"$persist_dir\" -Force -ErrorAction Stop } catch {} }", "checkver": { "url": "https://github.com/stenzek/duckstation/releases/tag/preview", - "regex": " datetime=\"(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})[\\s\\S]*?.*duckstation/commit/(?[0-9a-f]{7})", - "replace": "${year}${month}${day}-g${commit}" + "regex": " datetime=\"(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})T(?[0-9]{2}):(?[0-9]{2}):(?[0-9]{2})Z\"[\\s\\S]*?.*duckstation/commit/(?[0-9a-f]{7})", + "replace": "${year}${month}${day}${hour}${minute}${second}-${commit}" }, "autoupdate": { "architecture": { diff --git a/bucket/duckstation.json b/bucket/duckstation.json index 3302a9c768b7..ae5ddb6a4538 100644 --- a/bucket/duckstation.json +++ b/bucket/duckstation.json @@ -1,5 +1,5 @@ { - "version": "20261107-gbb4e9ac", + "version": "20261119031353-30184b6", "description": "Fast PlayStation 1 emulator", "homepage": "https://www.duckstation.org/", "license": { @@ -17,77 +17,80 @@ "architecture": { "64bit": { "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip", - "hash": "ca02e8eac40c0c6de801638f6b16bec80b605b5df32e406fe2fba7f21016b14b", - "post_install": [ - "New-item \"$dir\\portable.txt\" -ItemType File | Out-Null", - "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()" - ], + "hash": "6e3d9840cff53593cf1b8fc8540be163449c3606b1d17ae31d5f8b4db4944278", "bin": [ [ "duckstation-qt-x64-ReleaseLTCG.exe", "duckstation" ] + ], + "shortcuts": [ + [ + "duckstation-qt-x64-ReleaseLTCG.exe", + "DuckStation" + ] ] }, "arm64": { - "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-ARM64-release.zip", - "hash": "d6caa5fd775dac8506365408b3f794c0ecfb1dca0069c30763b466dc76a2a52f", - "post_install": [ - "New-item \"$dir\\portable.txt\" -ItemType File | Out-Null", - "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-ARM64-ReleaseLTCG.exe\"", - "$shortcut.Save()" - ], + "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-arm64-release.zip", + "hash": "f2ec48209c094e7cd884e32f261736feb7864a4aa1783aa379436d94b465d489", "bin": [ [ "duckstation-qt-ARM64-ReleaseLTCG.exe", "duckstation" ] + ], + "shortcuts": [ + [ + "duckstation-qt-ARM64-ReleaseLTCG.exe", + "DuckStation" + ] ] } }, "pre_install": [ "if (!(Test-Path \"$persist_dir\")) {", " New-item \"$persist_dir\" -ItemType Directory | Out-Null", - " if (Test-Path \"$env:USERPROFILE\\Documents\\DuckStation\") {", + " $userData = \"$env:USERPROFILE\\Documents\\DuckStation\", \"$env:LOCALAPPDATA\\DuckStation\" | Where-Object { Test-Path $_ } | Select-Object -First 1", + " if ($userData) {", " Write-host \"Migrating AppData...\" -ForegroundColor yellow", - " Copy-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\\*\" -Destination \"$persist_dir\" -Recurse", - " Remove-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\" -Recurse", + " Copy-Item -Path \"$userData\\*\" -Destination \"$persist_dir\" -Recurse", + " New-Item \"$persist_dir\\settings.ini\" -Force -Value (((Get-Content \"$persist_dir\\settings.ini\" -Encoding utf8) -notmatch '^CheckAtStartup') + '[AutoUpdater]', 'CheckAtStartup = false' | Out-String) | Out-Null", + " Remove-Item -Path $userData -Recurse", " } else {", - " '[Main]', 'SettingsVersion = 3', '[AutoUpdater]', 'CheckAtStartup = false' | Set-Content \"$dir\\settings.ini\"", + " '[AutoUpdater]', 'CheckAtStartup = false' | Set-Content \"$dir\\settings.ini\"", " }", - "}" + "}", + "'custom_properties.ini', 'playtime.dat' | Where-Object { !(Test-Path \"$persist_dir\\$_\") } | ForEach-Object { New-Item \"$dir\\$_\" -ItemType File | Out-Null }" ], + "post_install": "New-Item \"$dir\\portable.txt\" -ItemType File | Out-Null", "persist": [ "bios", "cache", "cheats", "covers", - "dump", + "gameicons", "gamesettings", "inputprofiles", "memcards", + "patches", + "resources\\themes", "savestates", "screenshots", "shaders", + "subchannels", "textures", + "videos", + "watches", + "custom_properties.ini", + "playtime.dat", "settings.ini" ], - "pre_uninstall": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force", - "post_uninstall": [ - "echo \"update bin/shortcuts\"", - "Remove-Item \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation.lnk\"" - ], + "pre_uninstall": "'settings.ini', 'custom_properties.ini' | ForEach-Object { try { Copy-Item \"$dir\\$_\" \"$persist_dir\" -Force -ErrorAction Stop } catch {} }", "checkver": { "url": "https://github.com/stenzek/duckstation/releases/tag/latest", - "regex": " datetime=\"(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})[\\s\\S]*?.*duckstation/commit/(?[0-9a-f]{7})", - "replace": "${year}${month}${day}-g${commit}" + "regex": " datetime=\"(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})T(?[0-9]{2}):(?[0-9]{2}):(?[0-9]{2})Z\"[\\s\\S]*?.*duckstation/commit/(?[0-9a-f]{7})", + "replace": "${year}${month}${day}${hour}${minute}${second}-${commit}" }, "autoupdate": { "architecture": { @@ -95,7 +98,7 @@ "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip" }, "arm64": { - "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-ARM64-release.zip" + "url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-arm64-release.zip" } } }