Feature: Allow external resource override from res/ directory
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "CRcEditDlg.h"
|
||||
#include "afxdialogex.h"
|
||||
#include "Resource.h"
|
||||
#include "BuildDlg.h"
|
||||
|
||||
|
||||
// CRcEditDlg 对话框
|
||||
@@ -78,10 +79,9 @@ void CRcEditDlg::OnOK()
|
||||
MessageBoxL("请选择[*.ico]图标文件或输入进程描述!", "提示", MB_ICONINFORMATION);
|
||||
return;
|
||||
}
|
||||
std::string ReleaseEXE(int resID, const char* name);
|
||||
int run_cmd(std::string cmdLine);
|
||||
|
||||
std::string rcedit = ReleaseEXE(IDR_BIN_RCEDIT, "rcedit.exe");
|
||||
std::string rcedit = ReleaseEXE(IDR_BIN_RCEDIT, "rcedit.exe", ResFileName::RCEDIT_EXE);
|
||||
if (rcedit.empty()) {
|
||||
MessageBoxL("解压程序失败,无法操作PE!", "提示", MB_ICONINFORMATION);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user