Commit graph

9 commits

Author SHA1 Message Date
matcool
61e000daa0 check hash for downloaded mods 2024-07-20 18:16:06 -03:00
matcool
324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
ConfiG
3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00
altalk23
491666965d fuck you newlines in hashing 2024-01-22 20:42:11 +03:00
matcool
bbf2608ac2
Switch libraries for sha3 256, move implementation to source file
The previous library we used (picosha3) returned a wrong hash for one
particular file. Though this was quite rare (we only found 1 such file),
it was a bug with the library regardless.
The current sha3 library now comes from
https://github.com/stbrumme/hash-library
2023-08-03 17:24:04 -03:00
matcool
2c3520f454 Add CPM.cmake, use it for external libraries
this removes submodules and external libraries in the code in favor of
importing them as CPM packages. CPM_SOURCE_CACHE is recommended as
codegen has to readd two of the same dependencies
2022-12-12 18:20:24 -03:00
HJfod
f9cda74b58 automatic resource repair
- loader checks if resources are correct at startup, if not, downloads them and replaces
 - add sha256 to hash
 - change hash to use paths instead of strings
 - cmake rework; GeodeFile.cmake now checks CLI version
 - add optional `DONT_INSTALL` argument to `create_geode_file`
 - test mods are now not installed by default
 - add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
2022-10-14 16:26:16 -03:00
matcool
5dda0a1e86
use binary mode for hashes, bump version to 0.4.5 2022-10-11 17:31:16 -03:00
HJfod
cdaa8ad6dc add all UI-related stuff from API, including index, nodes, actual ui,
resources, md4c; and fix up some minor formatting issues
2022-08-01 18:18:03 +03:00