diff --git a/harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets b/harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets index 8392235d..f4c74185 100644 --- a/harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets +++ b/harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets @@ -16,7 +16,11 @@ export class PushyFileJSBundleProvider extends JSBundleProvider { } getURL(): string { - return this.updateContext.getBundleUrl(); + const path = this.updateContext.getBundleUrl(); + if (path && !path.startsWith('file://')) { + return 'file://' + path; + } + return path; } async getBundle(): Promise {