From 33eb6207411d67f8a9c4ba8f6979c2eda6ddd674 Mon Sep 17 00:00:00 2001 From: awa Liny <163953777+awaLiny2333@users.noreply.github.com> Date: Sun, 17 Nov 2024 12:55:35 +0800 Subject: [PATCH] version: 1.5.2(1000008) => 1.5.3(1000009) api: Set compileSdkVersion for ohos product to 12 (since 13 is not available in DevEco Studio) --- AppScope/app.json5 | 4 ++-- build-profile.json5 | 2 +- home/src/main/ets/blocks/meowAppSettings.ets | 5 ----- home/src/main/ets/blocks/meowTabs.ets | 1 - 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/AppScope/app.json5 b/AppScope/app.json5 index 5415ebd..0bdd67b 100644 --- a/AppScope/app.json5 +++ b/AppScope/app.json5 @@ -2,8 +2,8 @@ "app": { "bundleName": "com.next.liny.linysbrowserNEXT", "vendor": "example", - "versionCode": 1000008, - "versionName": "1.5.2", + "versionCode": 1000009, + "versionName": "1.5.3", "icon": "$media:app_icon", "label": "$string:app_name" } diff --git a/build-profile.json5 b/build-profile.json5 index 1fde6ac..eae0d23 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -43,7 +43,7 @@ { "name": "ohos", "signingConfig": "ohos", - "compileSdkVersion": 13, + "compileSdkVersion": 12, "compatibleSdkVersion": 12, "runtimeOS": "OpenHarmony", "buildOption": { diff --git a/home/src/main/ets/blocks/meowAppSettings.ets b/home/src/main/ets/blocks/meowAppSettings.ets index 5ba19a5..5083a9a 100644 --- a/home/src/main/ets/blocks/meowAppSettings.ets +++ b/home/src/main/ets/blocks/meowAppSettings.ets @@ -532,11 +532,6 @@ struct meowAppSettings { } on_panel_open() { - try { - webview.AdsBlockManager.addAdsBlockDisallowedList(this.adblock_exceptions); - } catch (e) { - console.error(e); - } // Sync Data if (this.settings_title_bar_position == "top") { this.title_bar_position_selected = [0]; diff --git a/home/src/main/ets/blocks/meowTabs.ets b/home/src/main/ets/blocks/meowTabs.ets index d26ff85..06c09c7 100644 --- a/home/src/main/ets/blocks/meowTabs.ets +++ b/home/src/main/ets/blocks/meowTabs.ets @@ -7,7 +7,6 @@ import { bunch_of_settings } from '../hosts/bunch_of_settings'; import linysShowButton from '../components/linysShowButton'; import linysText from '../components/linysText'; import { sandbox_open_array } from '../utils/storage_tools'; -import { webview } from '@kit.ArkWeb'; @Component struct meowTabs {