bump version

fix linux

fix release

fix release

fix release

fxxk download-artifact
This commit is contained in:
simplxs 2024-07-02 15:43:05 +08:00
parent 0c061dc47d
commit 7ef0c670f4
No known key found for this signature in database
GPG Key ID: 1A3833A46D84A08C
4 changed files with 36 additions and 27 deletions

View File

@ -5,7 +5,7 @@ name: "release"
on:
push:
tags:
- "v*"
- "*"
permissions: write-all
@ -15,22 +15,21 @@ jobs:
release:
runs-on: ubuntu-latest
needs: build
needs:
- build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download All Artifact
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Create Release Draft and Upload Artifacts
uses: softprops/action-gh-release@v2
with:
name: SignerServer V${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: CHANGELOG.md
files: |
SignerServer-windows-latest-x64.zip
SignerServer-ubuntu-latest-x64.zip
SignerServer-ubuntu-latest-arm64.zip
draft: true
artifacts/*/*

View File

@ -1,6 +1,6 @@
# v1.0.0
# v2.0.0
QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 提高系统的稳定性

View File

@ -12,7 +12,7 @@ void init()
try
{
#if defined(_WIN_PLATFORM_)
std::string version = "9.9.12-25234";
std::string version = "9.9.12-25300";
try
{
std::ifstream versionConfig("resources\\app\\versions\\config.json");
@ -123,6 +123,15 @@ void init()
}
}
void uninit()
{
if (server != nullptr)
{
delete server;
server = nullptr;
}
}
#if defined(_WIN_PLATFORM_)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
{
@ -136,11 +145,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
if (server != nullptr)
{
delete server;
server = nullptr;
}
uninit();
break;
}
return TRUE;
@ -150,4 +155,9 @@ void __attribute__((constructor)) my_init(void)
{
init();
}
void __attribute__ ((destructor)) my_fini(void)
{
uninit();
}
#endif