diff --git a/Example/harmony_use_pushy/harmony/build-profile.json5 b/Example/harmony_use_pushy/harmony/build-profile.json5 index 8f4d86e..1e69556 100644 --- a/Example/harmony_use_pushy/harmony/build-profile.json5 +++ b/Example/harmony_use_pushy/harmony/build-profile.json5 @@ -36,10 +36,6 @@ ] } ] - }, - { - name: 'pushy', - srcPath: '../node_modules/react-native-update/harmony', } ] } \ No newline at end of file diff --git a/Example/harmony_use_pushy/harmony/entry/oh-package.json5 b/Example/harmony_use_pushy/harmony/entry/oh-package.json5 index 0d832c9..49d27bf 100644 --- a/Example/harmony_use_pushy/harmony/entry/oh-package.json5 +++ b/Example/harmony_use_pushy/harmony/entry/oh-package.json5 @@ -7,7 +7,7 @@ "license": "", "dependencies": { "@rnoh/react-native-openharmony": "0.72.38", - "pushy": "file:../../node_modules/react-native-update/harmony" + "pushy": "file:../../node_modules/react-native-update/harmony/pushy.har", } } diff --git a/Example/harmony_use_pushy/package.json b/Example/harmony_use_pushy/package.json index 64890de..56fcf6a 100644 --- a/Example/harmony_use_pushy/package.json +++ b/Example/harmony_use_pushy/package.json @@ -18,7 +18,7 @@ "@react-native-oh/react-native-harmony": "^0.72.59", "react": "18.2.0", "react-native": "0.72.5", - "react-native-update": "^10.26.4" + "react-native-update": "latest" }, "devDependencies": { "@babel/core": "^7.20.0", diff --git a/harmony/oh_modules/@rnoh/react-native-openharmony b/harmony/oh_modules/@rnoh/react-native-openharmony deleted file mode 120000 index 37f4a5e..0000000 --- a/harmony/oh_modules/@rnoh/react-native-openharmony +++ /dev/null @@ -1 +0,0 @@ -../../../../../harmony/oh_modules/.ohpm/@rnoh+react-native-openharmony@0.72.38/oh_modules/@rnoh/react-native-openharmony \ No newline at end of file diff --git a/harmony/pushy.har b/harmony/pushy.har new file mode 100644 index 0000000..5ae90c0 Binary files /dev/null and b/harmony/pushy.har differ diff --git a/harmony/BuildProfile.ets b/harmony/pushy/BuildProfile.ets similarity index 100% rename from harmony/BuildProfile.ets rename to harmony/pushy/BuildProfile.ets diff --git a/harmony/OAT.xml b/harmony/pushy/OAT.xml similarity index 100% rename from harmony/OAT.xml rename to harmony/pushy/OAT.xml diff --git a/harmony/README.md b/harmony/pushy/README.md similarity index 100% rename from harmony/README.md rename to harmony/pushy/README.md diff --git a/harmony/build-profile.json5 b/harmony/pushy/build-profile.json5 similarity index 100% rename from harmony/build-profile.json5 rename to harmony/pushy/build-profile.json5 diff --git a/harmony/hvigorfile.ts b/harmony/pushy/hvigorfile.ts similarity index 100% rename from harmony/hvigorfile.ts rename to harmony/pushy/hvigorfile.ts diff --git a/harmony/index.ets b/harmony/pushy/index.ets similarity index 100% rename from harmony/index.ets rename to harmony/pushy/index.ets diff --git a/harmony/oh-package-lock.json5 b/harmony/pushy/oh-package-lock.json5 similarity index 100% rename from harmony/oh-package-lock.json5 rename to harmony/pushy/oh-package-lock.json5 diff --git a/harmony/oh-package.json5 b/harmony/pushy/oh-package.json5 similarity index 100% rename from harmony/oh-package.json5 rename to harmony/pushy/oh-package.json5 diff --git a/harmony/src/main/cpp/CMakeLists.txt b/harmony/pushy/src/main/cpp/CMakeLists.txt similarity index 100% rename from harmony/src/main/cpp/CMakeLists.txt rename to harmony/pushy/src/main/cpp/CMakeLists.txt diff --git a/harmony/src/main/cpp/PushyPackage.h b/harmony/pushy/src/main/cpp/PushyPackage.h similarity index 100% rename from harmony/src/main/cpp/PushyPackage.h rename to harmony/pushy/src/main/cpp/PushyPackage.h diff --git a/harmony/src/main/cpp/PushyTurboModule.cpp b/harmony/pushy/src/main/cpp/PushyTurboModule.cpp similarity index 100% rename from harmony/src/main/cpp/PushyTurboModule.cpp rename to harmony/pushy/src/main/cpp/PushyTurboModule.cpp diff --git a/harmony/src/main/cpp/PushyTurboModule.h b/harmony/pushy/src/main/cpp/PushyTurboModule.h similarity index 100% rename from harmony/src/main/cpp/PushyTurboModule.h rename to harmony/pushy/src/main/cpp/PushyTurboModule.h diff --git a/harmony/src/main/cpp/hpatch.c b/harmony/pushy/src/main/cpp/hpatch.c similarity index 100% rename from harmony/src/main/cpp/hpatch.c rename to harmony/pushy/src/main/cpp/hpatch.c diff --git a/harmony/src/main/cpp/hpatch.h b/harmony/pushy/src/main/cpp/hpatch.h similarity index 100% rename from harmony/src/main/cpp/hpatch.h rename to harmony/pushy/src/main/cpp/hpatch.h diff --git a/harmony/src/main/cpp/pushy.c b/harmony/pushy/src/main/cpp/pushy.c similarity index 100% rename from harmony/src/main/cpp/pushy.c rename to harmony/pushy/src/main/cpp/pushy.c diff --git a/harmony/src/main/cpp/pushy.h b/harmony/pushy/src/main/cpp/pushy.h similarity index 100% rename from harmony/src/main/cpp/pushy.h rename to harmony/pushy/src/main/cpp/pushy.h diff --git a/harmony/src/main/ets/DownloadTask.ts b/harmony/pushy/src/main/ets/DownloadTask.ts similarity index 100% rename from harmony/src/main/ets/DownloadTask.ts rename to harmony/pushy/src/main/ets/DownloadTask.ts diff --git a/harmony/src/main/ets/DownloadTaskParams.ts b/harmony/pushy/src/main/ets/DownloadTaskParams.ts similarity index 100% rename from harmony/src/main/ets/DownloadTaskParams.ts rename to harmony/pushy/src/main/ets/DownloadTaskParams.ts diff --git a/harmony/src/main/ets/EventHub.ts b/harmony/pushy/src/main/ets/EventHub.ts similarity index 100% rename from harmony/src/main/ets/EventHub.ts rename to harmony/pushy/src/main/ets/EventHub.ts diff --git a/harmony/src/main/ets/Logger.ts b/harmony/pushy/src/main/ets/Logger.ts similarity index 100% rename from harmony/src/main/ets/Logger.ts rename to harmony/pushy/src/main/ets/Logger.ts diff --git a/harmony/src/main/ets/PushyFileJSBundleProvider.ets b/harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets similarity index 100% rename from harmony/src/main/ets/PushyFileJSBundleProvider.ets rename to harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets diff --git a/harmony/src/main/ets/PushyPackage.ts b/harmony/pushy/src/main/ets/PushyPackage.ts similarity index 100% rename from harmony/src/main/ets/PushyPackage.ts rename to harmony/pushy/src/main/ets/PushyPackage.ts diff --git a/harmony/src/main/ets/PushyTurboModule.ts b/harmony/pushy/src/main/ets/PushyTurboModule.ts similarity index 100% rename from harmony/src/main/ets/PushyTurboModule.ts rename to harmony/pushy/src/main/ets/PushyTurboModule.ts diff --git a/harmony/src/main/ets/UpdateContext.ts b/harmony/pushy/src/main/ets/UpdateContext.ts similarity index 100% rename from harmony/src/main/ets/UpdateContext.ts rename to harmony/pushy/src/main/ets/UpdateContext.ts diff --git a/harmony/src/main/ets/UpdateModuleImpl.ts b/harmony/pushy/src/main/ets/UpdateModuleImpl.ts similarity index 100% rename from harmony/src/main/ets/UpdateModuleImpl.ts rename to harmony/pushy/src/main/ets/UpdateModuleImpl.ts diff --git a/harmony/src/main/module.json5 b/harmony/pushy/src/main/module.json5 similarity index 100% rename from harmony/src/main/module.json5 rename to harmony/pushy/src/main/module.json5 diff --git a/harmony/src/main/resources/base/element/string.json b/harmony/pushy/src/main/resources/base/element/string.json similarity index 100% rename from harmony/src/main/resources/base/element/string.json rename to harmony/pushy/src/main/resources/base/element/string.json diff --git a/harmony/src/main/resources/en_US/element/string.json b/harmony/pushy/src/main/resources/en_US/element/string.json similarity index 100% rename from harmony/src/main/resources/en_US/element/string.json rename to harmony/pushy/src/main/resources/en_US/element/string.json diff --git a/harmony/src/main/resources/zh_CN/element/string.json b/harmony/pushy/src/main/resources/zh_CN/element/string.json similarity index 100% rename from harmony/src/main/resources/zh_CN/element/string.json rename to harmony/pushy/src/main/resources/zh_CN/element/string.json diff --git a/harmony/ts.ts b/harmony/pushy/ts.ts similarity index 100% rename from harmony/ts.ts rename to harmony/pushy/ts.ts diff --git a/harmony/src/main/cpp/HDiffPatch b/harmony/src/main/cpp/HDiffPatch deleted file mode 160000 index eb959d6..0000000 --- a/harmony/src/main/cpp/HDiffPatch +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eb959d671cd94281ca763d609f638b5d248df3a3 diff --git a/harmony/src/main/cpp/lzma b/harmony/src/main/cpp/lzma deleted file mode 160000 index c80bb80..0000000 --- a/harmony/src/main/cpp/lzma +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c80bb80bbbac61da7ec02d12fb497851b1f59635