Skip to content

Commit

Permalink
release: added OpenHarmony product.
Browse files Browse the repository at this point in the history
amend: set version code to 1.4.0 1000004
  • Loading branch information
awaLiny2333 committed Oct 8, 2024
1 parent a1064d0 commit bb242a6
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
/.clang-format
/.clang-tidy
**/.test
/.appanalyzer
/.appanalyzer
/release_data
4 changes: 2 additions & 2 deletions AppScope/app.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"app": {
"bundleName": "com.next.liny.linysbrowserNEXT",
"vendor": "example",
"versionCode": 1000003,
"versionName": "1.3.0",
"versionCode": 1000004,
"versionName": "1.4.0",
"icon": "$media:app_icon",
"label": "$string:app_name"
}
Expand Down
43 changes: 41 additions & 2 deletions build-profile.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
{
"app": {
"signingConfigs": [],
"signingConfigs": [
{
"name": "default",
"type": "HarmonyOS",
"material": {
"certpath": "C:\\Users\\meowDUO\\.ohos\\config\\default_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.cer",
"storePassword": "0000001B378FA056DE1E24955D5DB7BD504F526C9B9F05674AB90F8A7CA69F8297E23CBA8D9323AE94C146",
"keyAlias": "debugKey",
"keyPassword": "0000001B36483D0D9A529FE3E95260946802572D8361D69C530E904FAB6359DC9952B37CEB97F0E22DA44E",
"profile": "C:\\Users\\meowDUO\\.ohos\\config\\default_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "C:\\Users\\meowDUO\\.ohos\\config\\default_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.p12"
}
},
{
"name": "ohos",
"material": {
"certpath": "C:/Users/meowDUO/.ohos/config/openharmony/ohos_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.cer",
"storePassword": "0000001BC8A3725B5BF88C8AF34379D4F416000B2F2ABC6C959A46F5F07363D0EC03B4E8EA6F2B3EA52A50",
"keyAlias": "debugKey",
"keyPassword": "0000001B08D58D9A76092555EEF059CA7D98562DEA8F9DDEB961371A62D5D395AB77E0690EC6C87CE5AE6E",
"profile": "C:/Users/meowDUO/.ohos/config/openharmony/ohos_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "C:/Users/meowDUO/.ohos/config/openharmony/ohos_Linys_Browser_NEXT_U8e-oblABLFU73EOK3qrlcjLDcoctG2LWep5b2enlV8=.p12"
}
}
],
"products": [
{
"name": "default",
Expand All @@ -12,6 +38,18 @@
"caseSensitiveCheck": true
}
}
},
{
"name": "ohos",
"signingConfig": "ohos",
"compileSdkVersion": 12,
"compatibleSdkVersion": 12,
"runtimeOS": "OpenHarmony",
"buildOption": {
"strictMode": {
"caseSensitiveCheck": true
}
}
}
],
"buildModeSet": [
Expand All @@ -31,7 +69,8 @@
{
"name": "default",
"applyToProducts": [
"default"
"default",
"ohos"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion home/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "home",
"version": "1.0.0",
"description": "Please describe the basic information.",
"description": "Meow.",
"main": "",
"author": "",
"license": "",
Expand Down
14 changes: 10 additions & 4 deletions home/src/main/ets/blocks/meowWebView.ets
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ struct meowWebView {
event.handler.setWebController(null);
})
.onErrorReceive((e) => {
console.error("[Meow][ArkWeb][ERROR] "
+ e.error.getErrorCode() + ", " + e.error.getErrorInfo()
+ " @ " + this.tab_urls[Label.index_key])
// Log web errors
if (e) {
console.error("[Meow][ArkWeb][ERROR] "
+ e.error.getErrorCode() + ", " + e.error.getErrorInfo()
+ " @ " + this.tab_urls[Label.index_key])
// Log web errors
}
})
.onPageBegin(() => {
// console.log("[Meow][ArkWeb] on page begin")
Expand Down Expand Up @@ -118,6 +120,10 @@ struct meowWebView {
}
})
.onProgressChange((event) => {
if (!event) {
return;
}

let progress: number = event.newProgress;
// console.log("[Meow][ArkWeb] on progress change: " + progress.toString())
// Update current loading progress
Expand Down
10 changes: 4 additions & 6 deletions home/src/main/module.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
"description": "$string:module_desc",
"mainElement": "HomeAbility",
"deviceTypes": [
"phone",
"tablet",
"2in1",
"car"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
Expand Down Expand Up @@ -47,7 +45,7 @@
"name": "ohos.extension.backup",
"resource": "$profile:backup_config"
}
],
]
}
],
"requestPermissions":[
Expand All @@ -60,7 +58,7 @@
"HomeAbility"
]
}
},
}
// {
// "name" : "ohos.permission.READ_PASTEBOARD",
// "reason": "$string:permission_reason_READ_PASTEPOARD",
Expand Down
6 changes: 2 additions & 4 deletions home/src/ohosTest/module.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"name": "home_test",
"type": "feature",
"deviceTypes": [
"phone",
"tablet",
"2in1",
"car"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false
Expand Down
2 changes: 1 addition & 1 deletion oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"modelVersion": "5.0.0",
"description": "Please describe the basic information.",
"description": "Meow.",
"dependencies": {
},
"devDependencies": {
Expand Down
Binary file added release_data/entry.hap
Binary file not shown.

0 comments on commit bb242a6

Please sign in to comment.