diff --git a/build-profile.json5 b/build-profile.json5 index 9c02fd6..58967bc 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -8,7 +8,8 @@ "name": "default", "signingConfig": "default", "compileSdkVersion": 12, - "compatibleSdkVersion": 12 + "compatibleSdkVersion": 12, + "runtimeOS": "OpenHarmony" } ], "buildModeSet": [ diff --git a/library/src/main/module.json5 b/library/src/main/module.json5 index dd30f8e..2ccdcbf 100644 --- a/library/src/main/module.json5 +++ b/library/src/main/module.json5 @@ -4,8 +4,7 @@ "type": "har", "deviceTypes": [ "default", - "tablet", - "2in1" + "tablet" ] } } diff --git a/oh-package.json5 b/oh-package.json5 index 79b1475..9090018 100644 --- a/oh-package.json5 +++ b/oh-package.json5 @@ -1,4 +1,5 @@ { + "modelVersion": "5.0.1", "license": "ISC", "devDependencies": { "@ohos/hypium": "1.0.6" @@ -8,4 +9,4 @@ "repository": {}, "version": "", "dependencies": {} -} +} \ No newline at end of file diff --git a/sharedlibrary/oh-package.json5 b/sharedlibrary/oh-package.json5 index 65115c7..3a2fb2f 100644 --- a/sharedlibrary/oh-package.json5 +++ b/sharedlibrary/oh-package.json5 @@ -1,5 +1,5 @@ { - "name": "sharedlibrary", + "name": "@ohos/libraryimageknife", "version": "1.0.0", "description": "Please describe the basic information.", "main": "Index.ets", diff --git a/sharedlibrary/src/main/module.json5 b/sharedlibrary/src/main/module.json5 index 5ff0ab4..7e37699 100644 --- a/sharedlibrary/src/main/module.json5 +++ b/sharedlibrary/src/main/module.json5 @@ -4,9 +4,8 @@ "type": "shared", "description": "$string:shared_desc", "deviceTypes": [ - "phone", - "tablet", - "2in1" + "default", + "tablet" ], "deliveryWithInstall": true, "pages": "$profile:main_pages" diff --git a/sharedlibrary/src/ohosTest/module.json5 b/sharedlibrary/src/ohosTest/module.json5 index 4cca4a0..75846c4 100644 --- a/sharedlibrary/src/ohosTest/module.json5 +++ b/sharedlibrary/src/ohosTest/module.json5 @@ -5,9 +5,8 @@ "description": "$string:module_test_desc", "mainElement": "TestAbility", "deviceTypes": [ - "phone", - "tablet", - "2in1" + "default", + "tablet" ], "deliveryWithInstall": true, "installationFree": false,