Skip to content

Commit

Permalink
测试日期输出
Browse files Browse the repository at this point in the history
  • Loading branch information
wmhn1872265132 committed Mar 27, 2024
1 parent fcf8c3a commit 794c844
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 执行脚本.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ IF EXIST "%~dp0Temp" (rd /s /q "%~dp0Temp")
Rem 创建便携版 NVDA
"%~dp0Resource\%nvda%.exe" --create-portable-silent --portable-path="%~dp0Temp\NVDA"


Rem 运行 NVDA(不含 GitHub Actions),设置版本日期变量
if "%1" == "GITHUB_ACTIONS" (
@echo on
set VersionDate=2024.03.27
echo %date%
set VersionDate=%date:~-4%.%date:~-10,2%.%date:~-7,2%
echo %VersionDate%
) else (
if /i %PROCESSOR_IDENTIFIER:~0,3%==x86 (
Start /D "%ProgramFiles%\NVDA" NVDA
Expand Down

0 comments on commit 794c844

Please sign in to comment.