diff --git a/crates/tauri-cli/templates/mobile/open-harmony/entry/src/main/ets/entryability/EntryAbility.ets b/crates/tauri-cli/templates/mobile/open-harmony/entry/src/main/ets/entryability/EntryAbility.ets index b5608406e..c69220462 100644 --- a/crates/tauri-cli/templates/mobile/open-harmony/entry/src/main/ets/entryability/EntryAbility.ets +++ b/crates/tauri-cli/templates/mobile/open-harmony/entry/src/main/ets/entryability/EntryAbility.ets @@ -5,7 +5,7 @@ import window from '@ohos.window'; export default class EntryAbility extends RustAbility { // change to dynamic library name - public moduleName: string = "{{app.name}}" + public moduleName: string = "{{app.lib-name}}" public defaultPage: boolean = true; public mode: 'xcomponent' | 'webview' = 'webview'