mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
fix: AppImage 软件包构建与发布 #5
This commit is contained in:
parent
a8d09d0509
commit
7626d7c1d0
@ -16,8 +16,10 @@ cp "$root_dir/bin/wechat-devtools" "$app_dir/bin/wechat-devtools"
|
||||
cp "$root_dir/res/appimage.desktop" "$app_dir/wechat-devtools.desktop"
|
||||
cp "$root_dir/res/icons/wechat-devtools.png" "$app_dir/wechat-devtools.png"
|
||||
|
||||
echo "#!/bin/bash" > "$app_dir/AppRun"
|
||||
echo "exec bin/wechat-devtools" >> "$app_dir/AppRun"
|
||||
cat > "$app_dir/AppRun" <<- EOF
|
||||
#!/bin/bash
|
||||
exec \$APPDIR/bin/wechat-devtools
|
||||
EOF
|
||||
chmod +x "$app_dir/AppRun"
|
||||
|
||||
cp -r "$root_dir/package.nw" "$app_dir/package.nw"
|
||||
@ -26,3 +28,5 @@ rm -rf "$app_dir/nwjs/node" "$app_dir/nwjs/node.exe"
|
||||
cp -r "$root_dir/node/bin/node" "$app_dir/nwjs/node"
|
||||
cd "$app_dir/nwjs/" && ln -s "node" "node.exe"
|
||||
cd "$app_dir"
|
||||
|
||||
# appimagetool $app_dir
|
Loading…
x
Reference in New Issue
Block a user