Skip to content

Commit

Permalink
升级鸿蒙 SDK 项目版本
Browse files Browse the repository at this point in the history
  • Loading branch information
yinxulai committed Jun 6, 2024
1 parent f366200 commit cebae48
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 122 deletions.
17 changes: 15 additions & 2 deletions packages/harmony/build-profile.json5
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"app": {
"signingConfigs": [],
"signingConfigs": [
{
"name": "default",
"type": "HarmonyOS",
"material": {
"certpath": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.cer",
"storePassword": "0000001B1637096084E3BFAD9B5024935E0C7546E1C3A311CF1B1DBF0D684890956FA323AEAE14B5C1291A",
"keyAlias": "debugKey",
"keyPassword": "0000001BB05A9C89CBBE36BFF6BA01721EA1ABD990CC41E0A9B01ADD37F446C220A7CB6879C167E53333A4",
"profile": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.p12"
}
}
],
"products": [
{
"name": "default",
"signingConfig": "default",
"compileSdkVersion": "4.1.0(11)",
"compatibleSdkVersion": "4.1.0(11)",
"runtimeOS": "HarmonyOS",
}
Expand Down
4 changes: 4 additions & 0 deletions packages/harmony/entry/oh-package-lock.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/harmony/entry/src/main/ets/pages/Index.ets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import picker from '@ohos.file.picker'
import { createMultipartUploadV2Task, createDirectUploadTask, UploadFile, UploadTask, Progress as UploadProgress } from '@qiniu/upload'
import { UploadError } from '@qiniu/upload/src/main/ets/components/@internal'

const token = 'dgHUyu6FJLTIqHZS2Be798icC_DXdHAqaNa9WnO0:Zzn3vpv6bkDTBLSeY_n7qi2oDwg=:eyJzY29wZSI6InNkay10ZXN0LTExIiwiZGVhZGxpbmUiOjE3MTQ3OTU4MzAsInJldHVybkJvZHkiOiJ7XCJrZXlcIjokKGtleSksXCJoYXNoXCI6ICQoZXRhZyksIFwidGVzdFwiOiQoeDp0ZXN0KX0ifQ=='
const token = 'dgHUyu6FJLTIqHZS2Be798icC_DXdHAqaNa9WnO0:UrM8khFar8tad-Yf3xz-9WGyISE=:eyJzY29wZSI6InNkay10ZXN0LTExIiwiZGVhZGxpbmUiOjE4MTQ4OTU4MzAsInJldHVybkJvZHkiOiJ7XCJrZXlcIjokKGtleSksXCJoYXNoXCI6ICQoZXRhZyksIFwidGVzdFwiOiQoeDp0ZXN0KX0iLCJkZXRlY3RNaW1lIjoxfQ=='

@Entry
@Component
Expand Down
3 changes: 1 addition & 2 deletions packages/harmony/hvigor/hvigor-config.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"hvigorVersion": "4.0.4",
"modelVersion": "5.0.0",
"dependencies": {
"@ohos/hvigor-ohos-plugin": "4.0.4"
}
}
1 change: 0 additions & 1 deletion packages/harmony/hvigor/hvigor-wrapper.js

This file was deleted.

48 changes: 0 additions & 48 deletions packages/harmony/hvigorw

This file was deleted.

64 changes: 0 additions & 64 deletions packages/harmony/hvigorw.bat

This file was deleted.

20 changes: 16 additions & 4 deletions packages/harmony/library/BuildProfile.ets
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '1.0.0';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';

/**
* BuildProfile Class is used only for compatibility purposes.
*/
export default class BuildProfile {
static readonly HAR_VERSION = '1.0.0-rc.6';
static readonly BUILD_MODE_NAME = 'debug';
static readonly DEBUG = true;
}
static readonly HAR_VERSION = HAR_VERSION;
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
static readonly DEBUG = DEBUG;
static readonly TARGET_NAME = TARGET_NAME;
}
3 changes: 3 additions & 0 deletions packages/harmony/library/oh-package-lock.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/harmony/library/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"modelVersion": "5.0.0",
"name": "@qiniu/upload",
"version": "1.0.0-rc.6",
"keywords": ["qiniu", "upload", "oss"],
Expand Down
4 changes: 4 additions & 0 deletions packages/harmony/oh-package-lock.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/harmony/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"modelVersion": "5.0.0",
"name": "@qiniu/upload",
"version": "1.0.0-rc.1",
"description": "Qiniu Cloud Upload SDK",
Expand Down

0 comments on commit cebae48

Please sign in to comment.