diff --git a/apps/qrcode/custom.html b/apps/qrcode/custom.html
index a51190153..2ff1cd9db 100644
--- a/apps/qrcode/custom.html
+++ b/apps/qrcode/custom.html
@@ -101,6 +101,8 @@
+
+
@@ -365,8 +367,10 @@ g.drawString(content,g.getWidth()/2,g.getHeight()-(g.getHeight()-img[1])/4);
`}
g.setColor(1,1,1);
`;
+
+ var appname = document.getElementById("appname").value.trim() || "qrcode";
sendCustomizedApp({
- storage:[{name:"qrcode.app.js", url:"app.js", content:app}]
+ storage:[{name:`${appname}.app.js`, url:"app.js", content:app}]
});
});