Skip to content

Commit 3faf4f2

Browse files
committed
udpate
1 parent 298e07f commit 3faf4f2

File tree

13 files changed

+11
-5864444
lines changed

13 files changed

+11
-5864444
lines changed

Example/harmony_use_pushy/harmony/AppScope/resources/base/element/string.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"string": [
33
{
44
"name": "app_name",
5-
"value": "Pushy"
5+
"value": "harmony_use_pushy"
66
}
77
]
88
}

Example/harmony_use_pushy/harmony/entry/hvigorfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function generatePushyBuildTime(str?: string) {
2828
pushy_build_time: buildTime,
2929
versionName: versionName
3030
};
31-
// fs.writeFileSync(metaFilePath, JSON.stringify(metaContent, null, 4));
31+
fs.writeFileSync(metaFilePath, JSON.stringify(metaContent, null, 4));
3232
console.log(`Build time written to ${metaFilePath}`);
3333
},
3434
dependencies: [],

Example/harmony_use_pushy/harmony/entry/src/main/cpp/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set(NODE_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules")
55
set(OH_MODULE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
66
set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp")
77
set(OH_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
8-
#set(RNOH_GENERATED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/generated")
98
set(LOG_VERBOSITY_LEVEL 1)
109
set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments")
1110
set(CMAKE_CXX_FLAGS "-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie")

Example/harmony_use_pushy/harmony/entry/src/main/ets/pages/Index.ets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import {
99
import { createRNPackages } from '../RNPackagesFactory'
1010
import preferences from '@ohos.data.preferences';
1111

12-
const arkTsComponentNames: Array<string> = [
13-
];
12+
const arkTsComponentNames: Array<string> = [];
1413

1514
@Builder
1615
export function buildCustomRNComponent(ctx: ComponentBuilderContext) {

Example/harmony_use_pushy/harmony/entry/src/main/resources/base/element/string.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"name": "EntryAbility_label",
17-
"value": "Pushy"
17+
"value": "label"
1818
},
1919
{
2020
"name": "reason_write_media",

Example/harmony_use_pushy/largeData.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

Example/harmony_use_pushy/largeText.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)