Checksums every file under the current directory.
Go to file
ProfessionalUwU c51e02fa05
Add library
Embed the library into the executable and extract at runtime
Cleanup after executing the program
2023-06-25 21:12:42 +02:00
src Add library 2023-06-25 21:12:42 +02:00
.editorconfig Major additons 2023-06-25 02:45:33 +02:00
.gitignore Add library 2023-06-25 21:12:42 +02:00
justfile Minor fixes 2023-06-25 16:48:43 +02:00
LICENSE Initial commit 2023-05-16 00:39:16 +02:00
README.md Minor fixes 2023-06-25 16:48:43 +02:00

chksum

Checksums every file under the current directory

Run Locally

Clone the project

git clone https://gitea.hopeless-cloud.xyz/ProfessionalUwU/chksum.git

Go to the project directory

cd chksum

Install dependencies

pacman -S dotnet-runtime dotnet-sdk

Build project

just build

Publish project

just publish

Go to the publish folder

cd src/Chksum/bin/Release/net7.0/linux-x64/publish

Copy the libe_sqlite3.so to your /usr/local/lib or /usr/lib

cp libe_sqlite3.so /usr/local/lib

Run executable

LD_LIBRARY_PATH=/usr/local/lib ./Chksum

Info

LD_LIBRARY_PATH=/usr/local/lib is needed to tell the executable where the library is located

Alternately you can put the libe_sqlite3.so into the same folder as the executable