diff --git a/noname/init/import.js b/noname/init/import.js index 660d02467..8e42a22e6 100644 --- a/noname/init/import.js +++ b/noname/init/import.js @@ -107,9 +107,9 @@ async function createEmptyExtension(name){ }, }, intro:extensionInfo.intro?extensionInfo.intro.replace("${assetURL}",lib.assetURL):"", - author:extensionInfo.author, - diskURL:extensionInfo.diskURL, - forumURL:extensionInfo.forumURL, - version:extensionInfo.version, + author:extensionInfo.author?extensionInfo.author:"未知", + diskURL:extensionInfo.diskURL?extensionInfo.diskURL:"", + forumURL:extensionInfo.forumURL?extensionInfo.forumURL:"", + version:extensionInfo.version?extensionInfo.version:"1.0.0", },files:{"character":[],"card":[],"skill":[],"audio":[]}} } \ No newline at end of file