Merge pull request #1234 from nonameShijian/PR-Branch
fix import info.json
This commit is contained in:
commit
6f65e1268f
|
@ -426,6 +426,13 @@ export const extensionMenu = function (connectMenu) {
|
||||||
'import { lib, game, ui, get, ai, _status } from "../../noname.js";\ngame.import("extension",function(){\n\treturn ' +
|
'import { lib, game, ui, get, ai, _status } from "../../noname.js";\ngame.import("extension",function(){\n\treturn ' +
|
||||||
str +
|
str +
|
||||||
"\n});",
|
"\n});",
|
||||||
|
"info.json": JSON.stringify({
|
||||||
|
name: page.currentExtension,
|
||||||
|
author: authorExtLine.querySelector("input").value || "",
|
||||||
|
diskURL: diskExtLine.querySelector("input").value || "",
|
||||||
|
forumURL: forumExtLine.querySelector("input").value || "",
|
||||||
|
version: versionExtLine.querySelector("input").value || ""
|
||||||
|
}),
|
||||||
};
|
};
|
||||||
for (var i in dash1.content.image) {
|
for (var i in dash1.content.image) {
|
||||||
extension[i] = dash1.content.image[i];
|
extension[i] = dash1.content.image[i];
|
||||||
|
|
Loading…
Reference in New Issue