mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-31 18:59:19 +08:00
!3 native.fileUtils.getWritablePath() 后无需另加“/”
Merge pull request !3 from 古事东流/master
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user