Files
NapCatQQ/.pnpm-store/v3/files/01/cd0240b03a6e3ad2c4463a18fbe26aab4c08c1a52503a0c8ccede97ffa4e7088e0f9fb6b1a658c4b1e7dac30e96fc7add53369ed9131d561e4d59487453bd4
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

21 lines
578 B
Plaintext

@echo off
rem -- Echo the git commit hash. If git isn't available for some reason,
rem -- output nothing instead.
mkdir ..\gen 2>nul
set /p VERSION=<..\..\VERSION.txt
set COMMIT=%1
echo // AUTO-GENERATED BY %0 %*>..\gen\GenVersion.h
echo const char GenVersion_Version[] = "%VERSION%";>>..\gen\GenVersion.h
echo const char GenVersion_Commit[] = "%COMMIT%";>>..\gen\GenVersion.h
rem -- The winpty.gyp file expects the script to output the include directory,
rem -- relative to src.
echo gen
rem -- Set ERRORLEVEL to 0 using this cryptic syntax.
(call )