22 lines
445 B
C++
22 lines
445 B
C++
#pragma once
|
|
|
|
#include <Types.hpp>
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
namespace Echoion::Standalone
|
|
{
|
|
struct ReleaseManifest {
|
|
std::string version;
|
|
std::filesystem::path executable;
|
|
std::filesystem::path core;
|
|
std::string executableSha256;
|
|
std::string coreSha256;
|
|
|
|
[[nodiscard]] static Api::Result<ReleaseManifest>
|
|
load(const std::filesystem::path& manifestPath);
|
|
[[nodiscard]] Api::Result<void> validate() const;
|
|
};
|
|
}
|