diff --git a/src/UserInterface/UserInterface.cpp b/src/UserInterface/UserInterface.cpp index dcf5bb9..7d41d30 100644 --- a/src/UserInterface/UserInterface.cpp +++ b/src/UserInterface/UserInterface.cpp @@ -578,31 +578,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi if(bQuit) goto Clean; -#if defined(NEEDED_COMMAND_ARGUMENT) - // 옵션이 없으면 비정상 실행으로 간주, 프로그램 종료 - if (strstr(lpCmdLine, NEEDED_COMMAND_ARGUMENT) == 0) { - MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP); - goto Clean; - } -#endif - -#if defined(NEEDED_COMMAND_CLIPBOARD) - { - CHAR szSecKey[256]; - CPostIt cPostIt( "VOLUME1" ); - - if( cPostIt.Get( "SEC_KEY", szSecKey, sizeof(szSecKey) ) == FALSE ) { - MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP); - goto Clean; - } - if( strstr(szSecKey, NEEDED_COMMAND_CLIPBOARD) == 0 ) { - MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP); - goto Clean; - } - cPostIt.Empty(); - } -#endif - if (!CheckPythonLibraryFilenames()) { __ErrorPythonLibraryIsNotExist();