-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
50 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
time=$(date +"%Y-%m-%d_%H-%M-%S") | ||
|
||
FileName="MDCx-$time.exe" | ||
echo "Output File: $FileName" | ||
|
||
pyi-makespec -n "$FileName" -F \ | ||
-i resources/Img/MDCx.ico \ | ||
-w main.py \ | ||
-p "./src" \ | ||
--add-data "resources;resources" \ | ||
--add-data "libs;." \ | ||
--hidden-import socks \ | ||
--hidden-import urllib3 \ | ||
--hidden-import _cffi_backend \ | ||
--collect-all curl_cffi | ||
|
||
rm -rf dist | ||
|
||
pyinstaller "$FileName.spec" | ||
|
||
rm -rf build | ||
rm -f "$FileName.spec" | ||
|
||
echo 'Done' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
tags=$(git tag -l '120*' --sort=-v:refname) | ||
last=$(echo "$tags" | sed -n '2p') | ||
commitlog=$(git log --pretty=format:"%h %s" $last..HEAD) | ||
|
||
echo "## 新增 | ||
* | ||
## 修复 | ||
* | ||
<details> | ||
<summary>Full Changelog</summary> | ||
$commitlog | ||
</details>" > changelog.md # use "" to keep \n in $commitlog |