Skip to content

Commit a63f808

Browse files
committed
修改自动化脚本,兼容空格
1 parent eec8db6 commit a63f808

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/buildMain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const iconv = require('iconv-lite');
2525
res = replaceVer([ahkFile], false, version,[
2626
/;@Ahk2Exe-SetProductVersion (\d+\.\d+)/,
2727
/;@Ahk2Exe-SetFileVersion (\d+\.\d+)/,
28-
/global APPName:="ShowKeyBoard", ver:="(\d+\.\d+)"/,
28+
/global\s+APPName\s*:=\s*"ShowKeyBoard",\s*ver\s*:=\s*"(\d+\.\d+)"/,
2929
])
3030
if(!res)return
3131
// 执行编译

showKeyBoard.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
;@Ahk2Exe-ExeName build/release/ShowKeyBoard.exe
99
#Requires AutoHotkey v2
1010
#SingleInstance Ignore
11-
global APPName := "ShowKeyBoard", ver := "1.47"
11+
global APPName := "ShowKeyBoard", ver:= "1.48"
1212
#Include "lib/JSON.ahk"
1313
#include common.ahk
1414
#include langVars.ahk

0 commit comments

Comments
 (0)