From bdcae751c771c67bce2363b4afb9f782c83cb313 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Mon, 11 Dec 2023 20:02:36 +0800 Subject: [PATCH] add a file --- off-line-shell/compression-packager.sh | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 off-line-shell/compression-packager.sh diff --git a/off-line-shell/compression-packager.sh b/off-line-shell/compression-packager.sh new file mode 100644 index 0000000..c396840 --- /dev/null +++ b/off-line-shell/compression-packager.sh @@ -0,0 +1,36 @@ +#!/bin/bash +zipPath=$1 +tempPath=/tmp/wine-runner-$RANDOM +if [[ $1 == "--help" ]]; then + echo ©2020~`date +%Y` gfdgd xi + echo + echo ' --help' Show help + echo ' --no-clean' "Don't clean temp file after running" + exit +fi +echo +echo 'm m " mmmmm ' +echo '# # # mmm m mm mmm # "# m m m mm m mm mmm m mm ' +echo '" #"# # # #" # #" # #mmmm" # # #" # #" # #" # #" "' +echo ' ## ##" # # # #"""" # "m # # # # # # #"""" # ' +echo ' # # mm#mm # # "#mm" # " "mm"# # # # # "#mm" # ' +echo +echo +echo +echo 'mmmmm m"" # # " ' +echo '# # m m mmmm mm#mm mmm# mmmm mmm# m m mmm ' +echo '#mmmm" "m m" #" "# # #" "# #" "# #" "# #m# # ' +echo '# # #m# # # # # # # # # # m#m # ' +echo '#mmmm" "# "#m"# # "#m## "#m"# "#m## m" "m mm#mm' +echo ' m" m # m # ' +echo ' "" "" "" ' +echo +echo ©2020~`date +%Y` gfdgd xi +echo +echo Temp Path: $tempPath +mkdir -pv $tempPath +7z x -o$tempPath +bash $tempPath/run.sh +if [[ $1 != "--no-clean" ]]; then + rm -rfv $tempPath +fi \ No newline at end of file