Skip to content

Commit

Permalink
- remove asmCrashReport
Browse files Browse the repository at this point in the history
  • Loading branch information
hazmi-e205 committed Jul 17, 2023
1 parent 77d5d44 commit 4ab8a0b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
11 changes: 0 additions & 11 deletions Prj/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ solution "iDebugTool"
include "macholib.lua"
include "zsign.lua"
include "bit7z.lua"
if IsLinux() or IsMac() then
include "asmcrashreport.lua"
end

project "SelfUpdater"
kind "ConsoleApp"
Expand Down Expand Up @@ -52,7 +49,6 @@ project "iDebugTool"

QtModules {"network"}
QtConfigs {"force_debug_info"}
-- QtIncludes {"../Externals/asmCrashReport/asmCrashReport.pri"}

QtResources
{
Expand Down Expand Up @@ -133,16 +129,9 @@ project "iDebugTool"
local drmingw = "$$PWD/../../../Prebuilt/drmingw-win64/bin"
prelinkcommands {"python " .. copyext .. " mgwhelp.dll " .. drmingw .. " " .. copydst}
prelinkcommands {"python " .. copyext .. " exchndl.dll " .. drmingw .. " " .. copydst}
-- prelinkcommands {"python " .. copyext .. " .dll " .. copysrc .. " " .. copydst}
else
links
{
"asmCrashReport",
"dl",
}
includedirs
{
"../Externals/asmCrashReport/src",
}
-- prelinkcommands {"python " .. copyext .. " .so " .. copysrc .. " " .. copydst}
end
13 changes: 0 additions & 13 deletions Src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#if defined(WIN32)
#include "exchndl.h"
#include "utils.h"
#else
#include "asmCrashReport.h"
#endif

int main(int argc, char *argv[])
Expand All @@ -20,17 +18,6 @@ int main(int argc, char *argv[])
});
ExcHndlSetLogFileNameA(filename.toUtf8().data());
ExcHndlInit();
#else
// asmCrashReport::setSignalHandler("crashes", [] (const QString &inFileName, bool inSuccess) {
// QString message;
// if (inSuccess)
// message = QString("Sorry, %1 has crashed. A log file was written to:\n\n%2\n\n").arg(QCoreApplication::applicationName(), inFileName);
// else
// message = QString("Sorry, %1 has crashed and we could not write a log file to:\n\n%2\n\n").arg(QCoreApplication::applicationName(), inFileName);

// message += "Please post your issue to https://github.com/hazmi-e205/iDebugTool/issues";
// QMessageBox::critical(nullptr, QString("%1 Crashed").arg(QCoreApplication::applicationName()), message);
// });
#endif
MainWindow w;
w.show();
Expand Down
8 changes: 0 additions & 8 deletions info.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@
"path": "Externals/mingw-patch",
"use_submodules": false
},
{
"project": "asmCrashReport",
"url": "https://github.com/asmaloney/asmCrashReport",
"branch": "master",
"revision": "f42ab5b9a095a84dda6b6ed7e097b4565ced724b",
"path": "Externals/asmCrashReport",
"use_submodules": true
},
{
"project": "openssl",
"url": "https://github.com/openssl/openssl",
Expand Down

0 comments on commit 4ab8a0b

Please sign in to comment.