From 392ca794f95d3ce1892387b5997124743721b5eb Mon Sep 17 00:00:00 2001 From: 1MoreRaiday <123898931+1MoreRaiday@users.noreply.github.com> Date: Tue, 4 Jun 2024 01:10:56 +0300 Subject: [PATCH 1/2] Add files via upload --- bucket/vlc-rtx.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bucket/vlc-rtx.json diff --git a/bucket/vlc-rtx.json b/bucket/vlc-rtx.json new file mode 100644 index 00000000000..561ffdc100c --- /dev/null +++ b/bucket/vlc-rtx.json @@ -0,0 +1,45 @@ +{ + "version": "3.0.19-nvidia-upscaler2", + "description": "A free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols.", + "homepage": "https://www.videolan.org/", + "license": "GPL-2.0-only", + "architecture": { + "64bit": { + "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/vlc-3.0.19-nvidia-upscaler2.7z", + "hash": "6afcf209f5eee890ae77e42e75f5f9bc425ba031d11f1ffc4ea416259e7a6a22" + } + }, + "extract_dir": "vlc-3.0.19", + "pre_install": [ + "if (!(Test-Path \"$persist_dir\\portable\") -and (Test-Path \"$env:APPDATA\\vlc\")) {", + " info \"Copying old '$env:APPDATA\\vlc' to '$persist_dir\\portable'\"", + " ensure \"$dir\\portable\\vlc\" | Out-Null", + " Copy-Item \"$env:APPDATA\\vlc\\*\" \"$dir\\portable\" -Recurse -Force", + " Move-Item \"$dir\\portable\\vlc-qt-interface.ini\" \"$dir\\portable\\vlc\"", + "}" + ], + "bin": "vlc.exe", + "shortcuts": [ + [ + "vlc.exe", + "VLC media player" + ] + ], + "persist": "portable", + "checkver": { + "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/", + "regex": "vlc-rtx-upscaler\/vlc-(?[\\d.]+).7z" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/vlc-$version.7z" + } + }, + "hash": { + "url": "$url.sha256" + }, + "extract_dir": "vlc-$version" + } +} + From 2c89a9b2960692b162d4719c7cc422ac1cdd30b0 Mon Sep 17 00:00:00 2001 From: 1MoreRaiday Date: Tue, 4 Jun 2024 01:16:48 +0300 Subject: [PATCH 2/2] fixed autoupdate --- bucket/vlc-rtx.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bucket/vlc-rtx.json b/bucket/vlc-rtx.json index 561ffdc100c..d3b720279d8 100644 --- a/bucket/vlc-rtx.json +++ b/bucket/vlc-rtx.json @@ -1,5 +1,5 @@ { - "version": "3.0.19-nvidia-upscaler2", + "version": "3.0.19", "description": "A free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols.", "homepage": "https://www.videolan.org/", "license": "GPL-2.0-only", @@ -28,12 +28,12 @@ "persist": "portable", "checkver": { "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/", - "regex": "vlc-rtx-upscaler\/vlc-(?[\\d.]+).7z" + "regex": "vlc-rtx-upscaler/vlc-(?[\\d.]+)-nvidia-upscaler2.7z" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/vlc-$version.7z" + "url": "https://downloads.videolan.org/testing/vlc-rtx-upscaler/vlc-$version-nvidia-upscaler2.7z" } }, "hash": { @@ -42,4 +42,3 @@ "extract_dir": "vlc-$version" } } -