diff --git a/CMakeLists.txt b/CMakeLists.txt index c1dd37c..349ddcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(stremio VERSION "5.0.16") +project(stremio VERSION "5.0.17") set(CMAKE_CXX_STANDARD 20) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") diff --git a/README.md b/README.md index 04faf47..ceb7426 100644 --- a/README.md +++ b/README.md @@ -169,11 +169,12 @@ - Add any Browser Extension to Stremio by dropping the ``unpacked`` Extension into ``portable_config/extensions`` - On Start Extensions from ``portable_config/extensions`` are loaded. - 👉 **To install extension:** - 1. Get the ``unpacked`` Extensions from``%localAppData%\Microsoft\Edge SxS\User Data\Default\Extensions``. + 1. Get the ``unpacked`` Extensions from``%localAppData%\Microsoft\Edge\User Data\Default\Extensions``. 2. Here look for the `mainfest.json` for example ublock `{string-id}/1.62.0_0/manifest.json` as all the content beside is the extension 3. Now we can copy the contents of ``{string-id}/1.62.0_0`` to ``%localAppData%\Programs\LNV\Stremio-5\portable_config\extensions\ublock`` 4. Important is that the ``mainfest.json`` is located directly in ``portable_config\extensions\ublock`` 5. **Done**. Restart app and addons will be loaded. If loading fails check ``portable_config\errors-{date}.txt`` + - **Supported Extensions**: Some extension need support added manually. These extension can be downloaded [here](https://github.com/Zaarrg/stremio-desktop-v5/tree/webview-windows/extensions). - ⚙️ **App Settings** - **All App Settings** can be adjusted with ``portable_config\stremio-settings.ini`` @@ -205,7 +206,7 @@ Enhance your Stremio experience by customizing the MPV player settings. Below ar - The ``mpv.conf`` file can be found in the following location: - **Installation Path:** ``%localAppData%\Programs\LNV\Stremio-5\portable_config\mpv.conf`` - **Shaders Folder:** Located within the installation directory ``..\Stremio-5\portable_config\shaders``. - - **Latest Portable Config:** Latest portable config can be found [here](https://github.com/Zaarrg/stremio-desktop-v5/tree/webview-windows/utils/mpv/anime4k/portable_config). + - **Latest Portable Config:** Latest portable config can be found [here](https://raw.githubusercontent.com/Zaarrg/stremio-desktop-v5/webview-windows/utils/mpv/Default%20Portable%20Config.7z). - **🎹 Usage example of `mpv.conf` for DV Content:** ```shell diff --git a/utils/stremio/extensions/stylus_2.3.10_0.7z b/extensions/stylus_2.3.10_0.7z similarity index 100% rename from utils/stremio/extensions/stylus_2.3.10_0.7z rename to extensions/stylus_2.3.10_0.7z diff --git a/utils/stremio/extensions/ublock_1.62.0_0.7z b/extensions/ublock_1.62.0_0.7z similarity index 100% rename from utils/stremio/extensions/ublock_1.62.0_0.7z rename to extensions/ublock_1.62.0_0.7z diff --git a/src/core/globals.h b/src/core/globals.h index d6cff90..113888b 100644 --- a/src/core/globals.h +++ b/src/core/globals.h @@ -27,7 +27,7 @@ using json = nlohmann::json; #define APP_TITLE "Stremio - Freedom to Stream" #define APP_NAME "Stremio" #define APP_CLASS L"Stremio" -#define APP_VERSION "5.0.16" +#define APP_VERSION "5.0.17" // ----------------------------------------------------------------------------- // Globals diff --git a/utils/chocolatey/stremio.nuspec b/utils/chocolatey/stremio.nuspec index 269f7e3..421dd69 100644 --- a/utils/chocolatey/stremio.nuspec +++ b/utils/chocolatey/stremio.nuspec @@ -2,7 +2,7 @@ stremio-desktop-v5 - 5.0.16 + 5.0.17 Stremio Desktop v5 Zarg Zarg diff --git a/utils/chocolatey/tools/chocolateyinstall.ps1 b/utils/chocolatey/tools/chocolateyinstall.ps1 index 14219d6..3d87fd2 100644 --- a/utils/chocolatey/tools/chocolateyinstall.ps1 +++ b/utils/chocolatey/tools/chocolateyinstall.ps1 @@ -11,12 +11,12 @@ $packageArgs = @{ if ([Environment]::Is64BitOperatingSystem) { - $packageArgs['url'] = 'https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x64.exe' - $packageArgs['checksum'] = '2b60d91e07b0a1c9d174e5a3e66fc040b5e648cb60a5ea28ecac95895ed16fcf' + $packageArgs['url'] = 'https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x64.exe' + $packageArgs['checksum'] = '3135105a2c2e49c8ca8d42a54e24c2b2b983961f3abe06dbdff544cf87823a01' $packageArgs['checksumType'] = 'sha256' } else { - $packageArgs['url'] = 'https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x86.exe' - $packageArgs['checksum'] = 'a5809e560ce0a291c9727b02be1b2fd7fb0e5d85463b01f96edb5fe0294010a8' + $packageArgs['url'] = 'https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x86.exe' + $packageArgs['checksum'] = '5ba790af3efff89021862a25db619ffe9fccac65c233fba47cfd934fe4a18328' $packageArgs['checksumType'] = 'sha256' } diff --git a/utils/scoop/stremio-desktop-v5.json b/utils/scoop/stremio-desktop-v5.json index dddf3d2..3f5381a 100644 --- a/utils/scoop/stremio-desktop-v5.json +++ b/utils/scoop/stremio-desktop-v5.json @@ -1,12 +1,12 @@ { - "version": "5.0.16", + "version": "5.0.17", "description": "Stremio Desktop v5 Community", "homepage": "https://github.com/Zaarrg/stremio-desktop-v5", "license": "GPL-3.0", "architecture": { "64bit": { - "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x64.exe", - "hash": "2b60d91e07b0a1c9d174e5a3e66fc040b5e648cb60a5ea28ecac95895ed16fcf", + "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x64.exe", + "hash": "3135105a2c2e49c8ca8d42a54e24c2b2b983961f3abe06dbdff544cf87823a01", "installer": { "args": [ "/S" @@ -24,8 +24,8 @@ } }, "32bit": { - "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x86.exe", - "hash": "a5809e560ce0a291c9727b02be1b2fd7fb0e5d85463b01f96edb5fe0294010a8", + "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x86.exe", + "hash": "5ba790af3efff89021862a25db619ffe9fccac65c233fba47cfd934fe4a18328", "installer": { "args": [ "/S" diff --git a/utils/windows/installer/windows-installer.nsi b/utils/windows/installer/windows-installer.nsi index ddcb320..a9171c5 100644 --- a/utils/windows/installer/windows-installer.nsi +++ b/utils/windows/installer/windows-installer.nsi @@ -487,17 +487,17 @@ Function GetTimestamp StrCpy $TIMESTAMP "$year$month$day_$hours$minutes$seconds" FunctionEnd -;------------------------------------------------------------ -; The RemoveAll function now performs a backup of portable_config using a timestamp. -Function RemoveAll +Function BackupPortableConfig ; Check if portable_config exists; if so, back it up. - IfFileExists "$INSTDIR\portable_config\*.*" 0 skip_backup + IfFileExists "$INSTDIR\portable_config\*.*" 0 backup_done ; Get the current timestamp (sets the global variable $TIMESTAMP) Call GetTimestamp ; Rename portable_config to portable_config_backup_ Rename "$INSTDIR\portable_config" "$INSTDIR\portable_config_backup_$TIMESTAMP" - skip_backup: + backup_done: +FunctionEnd +Function RemoveAll ; Prepare registers for deletion loop Push $R2 Push $R3 @@ -559,8 +559,9 @@ Section ; App Files ; *** Prompt the user whether to delete all user data *** IfSilent +3 - MessageBox MB_YESNO|MB_ICONQUESTION "Delete all User Data? This update requires a clean install for the best experience. A backup of your portable_config folder will be created if it has been modified. Continue?" IDNO SkipDataDeletion - Call RemoveAll + MessageBox MB_YESNO|MB_ICONQUESTION "Install latest portable configuration? A backup of your portable_config folder will be created if it has been modified. Continue?" IDNO SkipDataDeletion + Call BackupPortableConfig + Call RemoveAllExceptWebView2 Goto DataDeletionDone SkipDataDeletion: Call RemoveAllExceptWebView2 diff --git a/version/version-details.json b/version/version-details.json index a07e649..4e575a4 100644 --- a/version/version-details.json +++ b/version/version-details.json @@ -1,13 +1,13 @@ { - "shellVersion": "5.0.16", + "shellVersion": "5.0.17", "files": { "windows-x64": { - "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x64.exe", - "checksum": "2b60d91e07b0a1c9d174e5a3e66fc040b5e648cb60a5ea28ecac95895ed16fcf" + "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x64.exe", + "checksum": "3135105a2c2e49c8ca8d42a54e24c2b2b983961f3abe06dbdff544cf87823a01" }, "windows-x86": { - "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.16/Stremio.5.0.16-x86.exe", - "checksum": "a5809e560ce0a291c9727b02be1b2fd7fb0e5d85463b01f96edb5fe0294010a8" + "url": "https://github.com/Zaarrg/stremio-desktop-v5/releases/download/5.0.0-beta.17/Stremio.5.0.17-x86.exe", + "checksum": "5ba790af3efff89021862a25db619ffe9fccac65c233fba47cfd934fe4a18328" }, "server.js": { "url": "https://dl.strem.io/server/v4.20.11/desktop/server.js", diff --git a/version/version.json b/version/version.json index 60bad6b..b0172c1 100644 --- a/version/version.json +++ b/version/version.json @@ -1,5 +1,5 @@ { "upToDate": false, "versionDesc": "https://raw.githubusercontent.com/Zaarrg/stremio-desktop-v5/refs/heads/webview-windows/version/version-details.json", - "signature": "LLAOuZccQ2m3M3o1qgV6zljLLzwlmSmUVWUqJWvwdpqdXlCLM/t/6Zw6ZrF/c+jYNN4c4mbjxTIYGEVzCdcUuPzr+mgb5A5NPItbldmdIffzx0hSWsVHVE7/xcaJIvHk5mq3Yq+OnWZsiyhAHJjm0KIYS3vqZWKSe2hHeMo6LcBPf4VBuGp0xXI3Lo2hg0LOIwJj5C5BeBvoPIWWkf0Qc5IfsO7QAYlOgTzljJ5COTv+XQRoWXYrQt8Qte7EMj8I+1gH77w6oDxD511erJsuZmJKbo0+gOTV6V6Y2ag3T0YjRjXmGi2IeK1utg3vEz8EK9kYxtI+0OPziFAmikYumg==" + "signature": "Tw/tSwVSu7Rnk4xg3AdGoJsrrcPYZwlslEr5cKI8F6Xsbp7+ewPHnxrRheDBsM53aehhN+XJ5tP8aCDpOyHlloXlsyhOW+v6XYZslHeDQIpJfOhA6U8iX354eneKU1wtGqyaRK0M277kKvlTL/blFAUKk9PnQKSiGbEPQL5BEAKrxgY38TIaBIE/E8cGrlDpybtks57xIHUqCcekSU2M3whnFhlKamCcje8YagqhEhFO3Vehsa9aJbvXLa2nTyaoQVde3Fu5hS0SwS9O+C/O5+V/MtRNYozzgYVCnMzDrmRNQWNBVk4R3tS/obI4iE+pz8LP5gu5BfQEFdKbXkmr7A==" } \ No newline at end of file