This commit is contained in:
寂静的羽夏 2022-07-07 22:10:54 +08:00
parent 8863fd5124
commit a169dae3e4
3 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,7 @@ int main(int argc, char *argv[]) {
a.setOrganizationName("WingCloud");
a.setApplicationName(QObject::tr("WingHexExplorer"));
a.setApplicationVersion("1.4.1");
a.setApplicationVersion("1.4.2");
a.setProductIcon(QIcon(":/images/icon.png"));
a.setProductName(QObject::tr("WingHexExplorer"));
a.setApplicationDescription(QObject::tr("AppDescription"));

View File

@ -11,6 +11,8 @@
#include <QtCore>
#define SDKVERSION 3
#define GETPLUGINQM(name) \
(QCoreApplication::applicationDirPath() + "/plglang/" + name)
enum ErrFile {
Success,

View File

@ -83,7 +83,11 @@ void PluginSystem::loadPlugin(QFileInfo fileinfo) {
emit p->plugin2MessagePipe(WingPluginMessage::PluginLoading, emptyparam);
p->init(loadedplginfos);
if (!p->init(loadedplginfos)) {
logger->logMessage(ERRLOG(tr("ErrLoadInitPlugin")));
loader.unload();
return;
}
WingPluginInfo info;
info.puid = p->puid();