From 459ee414617d08755077c3e04f6242ddae5897ab Mon Sep 17 00:00:00 2001 From: WardPearce Date: Wed, 4 Jun 2025 00:19:03 +1200 Subject: [PATCH 1/2] Bump version --- materialious/android/app/build.gradle | 4 ++-- materialious/electron/materialious.metainfo.xml | 6 +++++- materialious/electron/package.json | 2 +- materialious/package.json | 4 ++-- update_versions.py | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/materialious/android/app/build.gradle b/materialious/android/app/build.gradle index 97ae6f63..ceab7ec6 100644 --- a/materialious/android/app/build.gradle +++ b/materialious/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "us.materialio.app" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 115 - versionName "1.8.11" + versionCode 116 + versionName "1.8.12" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/materialious/electron/materialious.metainfo.xml b/materialious/electron/materialious.metainfo.xml index 0b108310..03440bbe 100644 --- a/materialious/electron/materialious.metainfo.xml +++ b/materialious/electron/materialious.metainfo.xml @@ -60,7 +60,11 @@ - + + + https://github.com/Materialious/Materialious/releases/tag/1.8.12 + + https://github.com/Materialious/Materialious/releases/tag/1.8.11 diff --git a/materialious/electron/package.json b/materialious/electron/package.json index e46ed844..30da3ba0 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -1,6 +1,6 @@ { "name": "Materialious", - "version": "1.8.11", + "version": "1.8.12", "description": "Modern material design for Invidious.", "author": { "name": "Ward Pearce", diff --git a/materialious/package.json b/materialious/package.json index e6aceaa6..e72ad0d0 100644 --- a/materialious/package.json +++ b/materialious/package.json @@ -1,6 +1,6 @@ { "name": "materialious", - "version": "1.8.11", + "version": "1.8.12", "private": true, "scripts": { "dev": "vite dev", @@ -71,4 +71,4 @@ "terser": "^5.34.1", "youtubei.js": "^13.4.0" } -} +} \ No newline at end of file diff --git a/update_versions.py b/update_versions.py index 086ad40d..954fcb1a 100644 --- a/update_versions.py +++ b/update_versions.py @@ -3,7 +3,7 @@ import os import re from datetime import datetime -LATEST_VERSION = "1.8.11" +LATEST_VERSION = "1.8.12" RELEASE_DATE = datetime.now().strftime("%Y-%-m-%d") # Format: YYYY-M-D WORKING_DIR = os.path.join( From 6fef0054e74d1882df975339d95eede7e860295a Mon Sep 17 00:00:00 2001 From: WardPearce Date: Wed, 4 Jun 2025 00:26:46 +1200 Subject: [PATCH 2/2] Removed debug logging for error handling --- materialious/static/nodejs-android/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/materialious/static/nodejs-android/index.js b/materialious/static/nodejs-android/index.js index c5140e69..e6a59d7f 100644 --- a/materialious/static/nodejs-android/index.js +++ b/materialious/static/nodejs-android/index.js @@ -103,9 +103,7 @@ function proxyRequest(clientReq, clientRes, parsedUrl, bodyChunks = [], redirect if (!clientRes.headersSent) { clientRes.writeHead(500, { 'Content-Type': 'text/plain' }); } - clientRes.end( - `Proxy error: ${err.message} ${rejectUnauthorized} rejectUnauthorized ${typeof rejectUnauthorized}` - ); + clientRes.end(`Proxy error: ${err.message}`); }); clientReq.on('aborted', () => proxyReq.destroy());