2 Commits f0d7615033 ... 9bdb81e222

Author SHA1 Message Date
  Jeff 9bdb81e222 Merge branch 'master' of http://19.85.1.90:3000/Home/repos_util 1 month ago
  Jeff 42201eb435 VC++版本中,使用文件说明代替git commit id 1 month ago
1 changed files with 8 additions and 4 deletions
  1. 8 4
      gitver/gitver/gitver.cpp

+ 8 - 4
gitver/gitver/gitver.cpp

@@ -243,17 +243,21 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
 			//strValue = StartProcess(NULL, "cmd /c git rev-parse HEAD", NULL);
 			//strValue.Replace(_T("\n"),_T(""));
 
-			_stprintf_s(szValue, "VALUE \"OriginalFilename\", \"%s.exe\"", g_szFolderName);
+			//_stprintf_s(szValue, "VALUE \"OriginalFilename\", \"%s.exe\"", g_szFolderName);
+			//vtOldContent.push_back(szValue);
+
+			//_stprintf_s(szValue, "VALUE \"OriginalFilename\", \"%s\"", strValue.GetString());
+			//vtNewContent.push_back(szValue);
+
+			_stprintf_s(szValue, "VALUE \"FileDescription\", \"TODO: <Îļþ˵Ã÷>\"");
 			vtOldContent.push_back(szValue);
 
-			_stprintf_s(szValue, "VALUE \"OriginalFilename\", \"%s\"", strValue.GetString());
+			_stprintf_s(szValue, "VALUE \"FileDescription\", \"%s\"", strValue.GetString());
 			vtNewContent.push_back(szValue);
 #endif
-
 		}
 		else if ( nCodeType == 2 )
 		{
-            
 #ifdef _DEBUG
             SetCurrentDirectory(_T("F:\\cfg\\Moka_CShare_FactoryTool\\FactoryTool_CShare"));
             _stprintf_s(szResFile, _T("%s\\Properties\\AssemblyInfo.cs"), _T("F:\\cfg\\Moka_CShare_FactoryTool\\FactoryTool_CShare"));