diff --git a/materialious/android/app/build.gradle b/materialious/android/app/build.gradle index 377dc511..c1afff2d 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 18 - versionName "1.1.6" + versionCode 19 + versionName "1.1.7" 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/package.json b/materialious/electron/package.json index a4ecc3fd..05115cb8 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -1,6 +1,6 @@ { "name": "Materialious", - "version": "1.1.6", + "version": "1.1.7", "description": "Modern material design for Invidious.", "author": { "name": "Ward Pearce", diff --git a/materialious/package.json b/materialious/package.json index f0dc4905..cde62750 100644 --- a/materialious/package.json +++ b/materialious/package.json @@ -1,6 +1,6 @@ { "name": "materialious", - "version": "1.1.6", + "version": "1.1.7", "private": true, "scripts": { "dev": "vite dev", diff --git a/materialious/src/lib/misc.ts b/materialious/src/lib/misc.ts index e9deac69..906bdeaa 100644 --- a/materialious/src/lib/misc.ts +++ b/materialious/src/lib/misc.ts @@ -171,6 +171,7 @@ export function proxyVideoUrl(source: string): string { } export function proxyGoogleImage(source: string): string { + if (source.startsWith('//')) source = `https:${source}`; let path: string | undefined; try { diff --git a/update_versions.py b/update_versions.py index b1665f71..7cfaa076 100644 --- a/update_versions.py +++ b/update_versions.py @@ -5,7 +5,7 @@ import json import os import re -LATEST_VERSION = "1.1.6" +LATEST_VERSION = "1.1.7" WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious") ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")