chore.完成自动打包脚本

This commit is contained in:
MistEO
2021-11-04 23:34:25 +08:00
parent 1a5dea8ff7
commit d0412306e6
4 changed files with 12 additions and 0 deletions

2
tools/build_release.bat Normal file
View File

@@ -0,0 +1,2 @@
MSBuild.exe ..\MeoAssistance.sln /p:Configuration=Release /p:Platform=x64 /t:Rebuild
sh zip_release.sh

6
tools/zip_release.sh Normal file
View File

@@ -0,0 +1,6 @@
TargetDir="../x64/Release"
LatestTag=$(git describe --tags $(git rev-list --tags --max-count=1))
Package="../x64/MeoAssistance_"$LatestTag".zip"
cp ./*.url $TargetDir
7z.exe a $Package $TargetDir/resource $TargetDir/*.dll $TargetDir/MeoAsstGui.exe $TargetDir/*.url

2
tools/使用说明.url Normal file
View File

@@ -0,0 +1,2 @@
[InternetShortcut]
URL=https://github.com/MistEO/MeoAssistance-Arknights/blob/master/README.md

2
tools/问题反馈.url Normal file
View File

@@ -0,0 +1,2 @@
[InternetShortcut]
URL=https://github.com/MistEO/MeoAssistance-Arknights/issues