mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-19 17:17:25 +08:00
Redefine Windows resource script macro
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
/** ------------------------------------------------------------
|
||||
* Copyright © 2023-2025 曾奥然, 郭恒
|
||||
* SPDX-License-Identifier: MIT
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* -------------------------------------------------------------
|
||||
* Lib Authors : 曾奥然 <ccmywish@qq.com>
|
||||
* Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* File Name : version.h
|
||||
* File Authors : 曾奥然 <ccmywish@qq.com>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* |
|
||||
* Created On : <2025-10-10>
|
||||
* Last Modified : <2025-10-10>
|
||||
|
||||
* !!!警告!!!
|
||||
* 发布前请修改此处的内容
|
||||
* Last Modified : <See 'Chsrc_Release_Date'>
|
||||
*
|
||||
* 发布新版本前请修改此文件
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "0.2.3"
|
||||
#define Chsrc_Release_Date "2025/10/06"
|
||||
#define Chsrc_Version "0.2.3.1-dev1"
|
||||
|
||||
// 以下宏仅用于 Windows
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
|
||||
#define CHSRC_VERSION_MAJOR 0
|
||||
#define CHSRC_VERSION_MINOR 2
|
||||
#define CHSRC_VERSION_PATCH 3
|
||||
#endif
|
||||
// 以下四个宏仅用于 resource/chsrc.rc
|
||||
#define Chsrc_Version_Major 0
|
||||
#define Chsrc_Version_Minor 2
|
||||
#define Chsrc_Version_Patch 3
|
||||
#define Chsrc_Version_Pre 1
|
||||
|
||||
#define Chsrc_Release_Date "2025/10/15"
|
||||
|
Reference in New Issue
Block a user