chore: write version that has modified

This commit is contained in:
linyuchen
2024-03-01 03:20:35 +08:00
parent 72aeefd501
commit f23abb1d9c

@@ -13,6 +13,8 @@ function writeManifest(manifest: any){
}
let manifest = readManifest();
manifest.version = version;
manifest.name = `LLOneBot v${version}`;
writeManifest(manifest);
if (version !== manifest.version){
manifest.version = version;
manifest.name = `LLOneBot v${version}`;
writeManifest(manifest);
}