mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update: 优化体积
This commit is contained in:
parent
1c0780298b
commit
15496e0351
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -75,7 +75,7 @@ jobs:
|
|||||||
ls -l
|
ls -l
|
||||||
tar -zvcf compiler.tar.gz compiler
|
tar -zvcf compiler.tar.gz compiler
|
||||||
tar -zvcf nodegit.tar.gz nodegit
|
tar -zvcf nodegit.tar.gz nodegit
|
||||||
sudo rm -rf compiler nodegit
|
sudo rm -rf compiler nodegit ${{ env.name }}/node_modules
|
||||||
ls -l
|
ls -l
|
||||||
env:
|
env:
|
||||||
name: 'WeChat_Dev_Tools_${{ steps.tag.outputs.tag }}'
|
name: 'WeChat_Dev_Tools_${{ steps.tag.outputs.tag }}'
|
||||||
@ -88,6 +88,7 @@ jobs:
|
|||||||
# build AppImage
|
# build AppImage
|
||||||
./appimagetool-x86_64.AppImage ./${{ env.name }}/tmp/AppDir ${{ env.name }}_${{ env.ARCH }}_wine.AppImage
|
./appimagetool-x86_64.AppImage ./${{ env.name }}/tmp/AppDir ${{ env.name }}_${{ env.ARCH }}_wine.AppImage
|
||||||
# pack
|
# pack
|
||||||
|
sudo rm -rf compiler nodegit ${{ env.name }}/tmp
|
||||||
tar -zvcf ${{ env.name }}_${{ env.ARCH }}_wine.tar.gz ${{ env.name }}
|
tar -zvcf ${{ env.name }}_${{ env.ARCH }}_wine.tar.gz ${{ env.name }}
|
||||||
|
|
||||||
# reduce wine
|
# reduce wine
|
||||||
@ -97,6 +98,7 @@ jobs:
|
|||||||
bash ./${{ env.name }}/tools/appimage.sh
|
bash ./${{ env.name }}/tools/appimage.sh
|
||||||
# build AppImage
|
# build AppImage
|
||||||
./appimagetool-x86_64.AppImage ./${{ env.name }}/tmp/AppDir ${{ env.name }}_${{ env.ARCH }}_reduce_wine.AppImage
|
./appimagetool-x86_64.AppImage ./${{ env.name }}/tmp/AppDir ${{ env.name }}_${{ env.ARCH }}_reduce_wine.AppImage
|
||||||
|
sudo rm -rf compiler nodegit ${{ env.name }}/tmp
|
||||||
# pack
|
# pack
|
||||||
tar -zvcf ${{ env.name }}_${{ env.ARCH }}_reduce_wine.tar.gz ${{ env.name }}
|
tar -zvcf ${{ env.name }}_${{ env.ARCH }}_reduce_wine.tar.gz ${{ env.name }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user