Browse Source

更正路径

Jeff 6 months ago
parent
commit
1e41f6ca4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gitver/gitver/gitver.cpp

+ 1 - 1
gitver/gitver/gitver.cpp

@@ -240,7 +240,7 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
 			// VALUE "ProductVersion", "1.0.0.1"
 			// VALUE "OriginalFilename", "FactoryAssistTool.exe"
 			// 问题:当commitid长度超过4位数字时,FileVersion放不下这么多字符;
-			_stprintf_s(szResFile, _T("%s\\%s.rc"), g_szCurModuleDir, g_szFolderName);
+			_stprintf_s(szResFile, _T("%s%s.rc"), g_szCurModuleDir, g_szFolderName);
             // 先checkout 资源文件;
             _stprintf_s(szValue, _T("cmd /c git checkout .\\%s.rc"), g_szFolderName);
             StartProcess(NULL, szValue, NULL);