From c63864825288e01c73754bf0e533027abc02ec4d Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sun, 11 Sep 2022 20:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=80=81=E6=B4=BB=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=9B=B4=E6=8D=A2helper=E5=92=8C=E6=B7=BB=E5=8A=A0pos?= =?UTF-8?q?trm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-script.zip | Bin 300047 -> 300506 bytes package-script/debian/postrm | 16 ++++++++++++++++ package-script/package.py | 8 ++++---- package-script/script-packager.sh | 2 ++ 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100755 package-script/debian/postrm diff --git a/package-script.zip b/package-script.zip index 24e6c5fc326e3c8cf3b160bb9d1480ccfa87b66f..52cf0af998dad70e13ade47105e3cc335017c994 100755 GIT binary patch delta 8642 zcmZvC1yCG8&@RUv?uWYs_u%gC5Zrif0fWK#>Os2(B`-Q+4n!f_HBar{{kAHHbG|?|F0M493=hEt9K4E{1>_L>mLyI zKMgi;2}=L#EP8VV0{!=!OpWo^AXM;QM@04=s4@EvzD5%x!kAfSo55Iy6b=rKG+`Z+ z0A?2rfuf?of!PqrET6Hk7*#MWn2Vhg)}#uS`M2kjD%kj6oJLbk@GLw=?-v%G&9O(` zAappm0hoj~m<|bhirn&9U=G?~YT&hDQ*ydTWdIv@0j(_es_7~@4R+b z{&hDqy8Mk7dZ{1M6bEvux$v94lZZ>?g0YJ8UwP*-eQvJ4EdsBH#2MGffwTVi!*eQc z-f(^0ZM+-M)-T@*k*gxe z04gUtRGlWAr!JiL#&obXvWUEsv);XPDls|;!?Zbj?`|`e>fbDS1>Yjv(z1U@m`N$9 zylG-GzU+-mY*1NV(M{!y3`m!%g=w7$3k9lbAP*J$2_NQ0l`Z`q5qDM*n&vLxk1FUU ziU>gk88~=4h5Qm!f+LQaWHqH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$c{(Sp%v)-Q7-%0v-dNhe58Vae&YL|tOy}j=n+no2JcxHL?*^=Yarm8ReLG7^4 z!V7|M{jh$3+FgooXX$dW$@p7M#*b`_1`2G+hqQ3}Tv+*?jJES<$3UJZ_f9w4Amad!rNeLJoI!)|x{GxxJk(k_)_0r_V(0 zCkBc1Id-rq<;O{?C?x&gNn=e{GgK}kZKfi+G&NBP2cEh|PQ4H2Wjz;L2Xe;EE9>m> z?OukydN3#cO8>m=9;W0xu>P76NHFE$i+PIiwadUYUi7lfT#{1FT08(6XR%EA9YSH4 z3hR9+{rKjZ7F-kf%?zVyaz1}d-MHoyoBD{2@6wyt0}vSbs{fV@1s?-hrJslv5SEGB zlDqbv^;e8^V1%l&fA%=XaIpme1gx~VQs*!Y~v=H$)Vo zLnL*Ud*Gx_fAhoj#WufCd>|b)6-3!3ujm1jBnQlVz7a+ZarTH~cfues(tKD%yDaJ8 z8*;>6F45$z#jp=zeN~kz6hj_K?BGM3yZ-YPmMO8%m-5YNyp-=VN4Lu%GrlQPOg8(F%(2Y{a@IZ8Uf)Y0`VW7jDUdnXFLZoY5mK6 zf&SX%qqY_j0`LzK{yQ%#OduYF1w1kPPZ(wv50V2)oByAM3>%0CF;f0ltA-N+f%?Cy z!(rG7ASU3S=FQ)lWH8+X5Cx(r%rgOGf|vlCO#qnzcU^%nxI6GAOg#}K0sOO$|FNnQ zK{7xE_kR{O>}3*23<&i6pO{AyNDV0K^*`2n5=aG69LA9h;vqmn{`+Mtf3AZ+ts|^p I&>!pn0jz(4WdHyG diff --git a/package-script/debian/postrm b/package-script/debian/postrm new file mode 100755 index 0000000..a16ebdc --- /dev/null +++ b/package-script/debian/postrm @@ -0,0 +1,16 @@ +#!/bin/bash + +if [ "$1" = "remove" ] || [ "$1" = "purge" ];then + +echo "清理卸载残留" +for username in `ls /home` + do + echo /home/$username + if [ -d "/home/$username/.deepinwine/@deb_package_name@" ] + then + rm -rf "/home/$username/.deepinwine/@deb_package_name@" + fi + done +else + echo "非卸载,跳过清理" +fi \ No newline at end of file diff --git a/package-script/package.py b/package-script/package.py index fdc33eb..2e59d76 100755 --- a/package-script/package.py +++ b/package-script/package.py @@ -2,8 +2,8 @@ # 使用系统默认的 python3 运行 ########################################################################################### # 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢 -# 版本:1.7.1 -# 更新时间:2022年07月19日 +# 版本:2.2.0 +# 更新时间:2022年09月11日 # 感谢:感谢 wine 以及 deepin-wine 团队,提供了 wine 和 deepin-wine 给大家使用,让我能做这个程序 # 基于 Python3 的 tkinter 构建 ########################################################################################### @@ -75,9 +75,9 @@ export deb_package_name="{packageName.text()}" #最终生成的包的版本号,版本号命名规则:应用版本号+deepin+数字 export deb_version_string="{versionName.text()}" -export package_depends="deepin-wine6-stable:amd64 (>= 6.0.0.12-1), deepin-wine-helper (>= 5.1.25-1)" +export package_depends="deepin-wine6-stable:amd64 (>= 6.0.0.12-1), spark-dwine-helper | store.spark-app.spark-dwine-helper" export apprun_cmd="deepin-wine6-stable" -#export package_depends="deepin-wine5-stable:amd64 (>= 5.0.29-1), deepin-wine-helper (>= 5.1.25-1)" +#export package_depends="deepin-wine5-stable:amd64 (>= 5.0.29-1), spark-dwine-helper | store.spark-app.spark-dwine-helper" #export apprun_cmd="deepin-wine5-stable" # rm -fr final.dir/ diff --git a/package-script/script-packager.sh b/package-script/script-packager.sh index f5747fb..117966c 100755 --- a/package-script/script-packager.sh +++ b/package-script/script-packager.sh @@ -314,6 +314,8 @@ if [ -n "$desktop_file_categories" ]; then find -iname "$desktop_file_icon" -exec cp "{}" "$outentries/icons/{}" \; fi +# 写入 postrm 自动删除卸载残留脚本 +$dstdir/DEBIAN/postrm systemVersion=`cat /etc/os-version` systemVersion=${systemVersion,,} # 获取系统版本 # 判断系统是否为 UOS