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