File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ cp "$root_dir/bin/wechat-devtools" "$app_dir/bin/wechat-devtools"
1616cp " $root_dir /res/appimage.desktop" " $app_dir /wechat-devtools.desktop"
1717cp " $root_dir /res/icons/wechat-devtools.png" " $app_dir /wechat-devtools.png"
1818
19- echo " #!/bin/bash" > " $app_dir /AppRun"
20- echo " exec bin/wechat-devtools" >> " $app_dir /AppRun"
19+ cat > " $app_dir /AppRun" << - EOF
20+ #!/bin/bash
21+ exec \$ APPDIR/bin/wechat-devtools
22+ EOF
2123chmod +x " $app_dir /AppRun"
2224
2325cp -r " $root_dir /package.nw" " $app_dir /package.nw"
@@ -26,3 +28,5 @@ rm -rf "$app_dir/nwjs/node" "$app_dir/nwjs/node.exe"
2628cp -r " $root_dir /node/bin/node" " $app_dir /nwjs/node"
2729cd " $app_dir /nwjs/" && ln -s " node" " node.exe"
2830cd " $app_dir "
31+
32+ # appimagetool $app_dir
You can’t perform that action at this time.
0 commit comments