소스 검색

Z991239-5240 #comment VTM桌面图标缺陷验证修复

80374374 1 년 전
부모
커밋
eedf824e00
3개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp
  2. 3 1
      Tool/VTMLauncher/CMakeLists.txt
  3. BIN
      addin/assets/VTM.ico

+ 1 - 1
Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

@@ -3180,7 +3180,7 @@ void ResourceWatcherFSM::CreateLink(const CSimpleStringA& exePath)
         strncpy_s(szVersion, sizeof(szVersion), szTemp, _TRUNCATE);
         fclose(pFile);
 
-        icoPath = icoPath + "\\" + szVersion + "\\bin\\VTM_IL.ico";
+        icoPath = icoPath + "\\" + szVersion + "\\bin\\VTM.ico";
         if (!CreateLinkFile(exePath, "", s, icoPath))
         {
             DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM)("CreateLinkFile DESKTOP fail");

+ 3 - 1
Tool/VTMLauncher/CMakeLists.txt

@@ -3,7 +3,9 @@ set(MODULE_NAME "VTMLauncher")
 add_definitions(-D_AFXDLL)
 
 add_executable(${MODULE_NAME} WIN32
-    VTM_IL.cpp)
+    VTM_IL.cpp
+    VTM_IL.rc
+    resource.h)
 
 target_include_directories(${MODULE_NAME} PRIVATE
     ${CMAKE_CURRENT_SOURCE_DIR}

BIN
addin/assets/VTM.ico