mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
chore: write version that has modified
This commit is contained in:
@@ -13,6 +13,8 @@ function writeManifest(manifest: any){
|
|||||||
}
|
}
|
||||||
|
|
||||||
let manifest = readManifest();
|
let manifest = readManifest();
|
||||||
manifest.version = version;
|
if (version !== manifest.version){
|
||||||
manifest.name = `LLOneBot v${version}`;
|
manifest.version = version;
|
||||||
writeManifest(manifest);
|
manifest.name = `LLOneBot v${version}`;
|
||||||
|
writeManifest(manifest);
|
||||||
|
}
|
Reference in New Issue
Block a user