mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Fix more build issues
This commit is contained in:
1
dist/macOS/arm64.Dockerfile
vendored
1
dist/macOS/arm64.Dockerfile
vendored
@@ -67,6 +67,7 @@ vcpkg install --triplet=arm-osx-mytriplet zlib
|
|||||||
vcpkg install --triplet=arm-osx-mytriplet bzip2
|
vcpkg install --triplet=arm-osx-mytriplet bzip2
|
||||||
vcpkg install --triplet=arm-osx-mytriplet liblzma
|
vcpkg install --triplet=arm-osx-mytriplet liblzma
|
||||||
vcpkg install --triplet=arm-osx-mytriplet zstd
|
vcpkg install --triplet=arm-osx-mytriplet zstd
|
||||||
|
vcpkg install --triplet=arm-osx-mytriplet libssh2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
## Install glfw3 dep
|
## Install glfw3 dep
|
||||||
|
|||||||
@@ -1161,8 +1161,8 @@ namespace hex::plugin::builtin {
|
|||||||
next(-1);
|
next(-1);
|
||||||
skipArray(200, false);
|
skipArray(200, false);
|
||||||
next(-1);
|
next(-1);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
} else
|
} else
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
#include <hex/helpers/logger.hpp>
|
#include <hex/helpers/logger.hpp>
|
||||||
#include <wolv/utils/string.hpp>
|
#include <wolv/utils/string.hpp>
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#if defined(OS_WINDOWS)
|
#if defined(OS_WINDOWS)
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <fonts/vscode_icons.hpp>
|
#include <fonts/vscode_icons.hpp>
|
||||||
|
#include <hex/helpers/logger.hpp>
|
||||||
#include <hex/ui/imgui_imhex_extensions.h>
|
#include <hex/ui/imgui_imhex_extensions.h>
|
||||||
#include <hex/helpers/utils.hpp>
|
#include <hex/helpers/utils.hpp>
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ namespace hex::plugin::remote {
|
|||||||
m_sftpClient = std::move(client);
|
m_sftpClient = std::move(client);
|
||||||
}
|
}
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
|
setErrorMessage(e.what());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,6 +103,7 @@ namespace hex::plugin::remote {
|
|||||||
m_sftpClient = std::move(client);
|
m_sftpClient = std::move(client);
|
||||||
}
|
}
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
|
log::error("Failed to connect to SSH server: {}", e.what());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user