路径无需另加“/”

This commit is contained in:
bansomin
2023-10-28 00:10:31 +08:00
parent 18824fd8e0
commit 56f7f843a5

View File

@@ -66,7 +66,7 @@ export class Hot {
this.showSearchPath();
this.manifest = res.nativeUrl;
this.storagePath = `${native.fileUtils.getWritablePath()}/oops_framework_remote`;
this.storagePath = `${native.fileUtils.getWritablePath()}oops_framework_remote`;
this.assetsMgr = new native.AssetsManager(this.manifest, this.storagePath, (versionA, versionB) => {
console.log("【热更新】客户端版本: " + versionA + ', 当前最新版本: ' + versionB);
this.options?.onVersionInfo && this.options.onVersionInfo({ local: versionA, server: versionB });