@@ -25,7 +25,7 @@ description_cht="Web 工具箱"
#只有一个应用
#dsmuidir="ui"
#多目录时可配置,需要修改脚本,复制对应的目录
-dsmuidir="Main:ui NginxUI:nginxui Trilium:trilium"
+dsmuidir="WebToolBox:ui NginxUI:nginxui Trilium:trilium"
[ "$(caller)" != "0 NULL" ] && return 0
@@ -29,7 +29,7 @@ create_spk() {
cp -av scripts $PKG_DIR/scripts
cp -av conf $PKG_DIR
cp -av ui $PKG_DIR
- cp -av build/* $PKG_DIR/
+ cp -av build/* $PKG_DIR/ui/
cp -av LICENSE $PKG_DIR
cp -av ui/icons/MyIcon_72.png $PKG_DIR/PACKAGE_ICON.PNG
cp -av ui/icons/MyIcon_256.png $PKG_DIR/PACKAGE_ICON_256.PNG
@@ -23,7 +23,7 @@ Ext.define('cn.tonyandmoney.app.Main', {
items: [
new Ext.BoxComponent({
height: "100%",
- html: '<iframe src="/webman/3rdparty/WebToolBox/ui/index.html”" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%"></iframe>'
+ html: '<iframe src="/webman/3rdparty/WebToolBox/index.html”" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%"></iframe>'
})
]
}, cfg);