diff --git a/README.md b/README.md index 1aa88a5..6f98b95 100644 --- a/README.md +++ b/README.md @@ -97,24 +97,28 @@ Start a new cmd as admin in the `vcpkg` folder and type: vcpkg integrate install ``` -### Step 2: Installing the libraries -Copy and paste this (in the vcpkg directory if you don't have it in the PATH) +### Step 2: Cloning DiscordTokenProtector ``` -vcpkg install imgui:x86-windows-static imgui[glfw-binding]:x86-windows-static imgui[opengl3-binding]:x86-windows-static imgui[glfw-binding]:x86-windows-static imgui[win32-binding]:x86-windows-static nlohmann-json:x86-windows-static cryptopp:x86-windows-static curl[openssl]:x86-windows-static polyhook2:x86-windows-static gl3w:x86-windows-static +git clone https://github.com/andro2157/DiscordTokenProtector ``` -*This process might take some time as it's building these libraries (for the static link)* -### Step 3: Cloning DiscordTokenProtector + +### Step 3: Installing the libraries using manifest mode ``` -git clone https://github.com/andro2157/DiscordTokenProtector +cd DiscordTokenProtector +vcpkg install --triplet x86-windows-static ``` +*This process might take some time as it's building these libraries (for the static link)* ### Step 4: Open the project in VS Open `DiscordTokenProtector.sln` +### Step 5: Open the project settings +Set "Use Vcpkg Manifest" to Yes + Everything should be setup, you just need to compile it with the `PROD` or `PROD-NOSTARTUP` config in **x86**. -### (Optional) Step 5: Compile with YubiKey support +### (Optional) Step 6: Compile with YubiKey support * Download the latest yubico-piv-tool source code here: https://developers.yubico.com/yubico-piv-tool/Releases/ \ **Don't clone from the repo, it won't compile on Windows!** * Follow the instructions [here](https://github.com/Yubico/yubico-piv-tool#building-on-windows) to create the project. diff --git a/vcpkg.json b/vcpkg.json index cd6742e..f54b713 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -12,7 +12,11 @@ "name": "curl", "features": ["openssl"] }, - "polyhook2", + { + "name": "polyhook2", + "version>=": "2022-03-01" + }, "gl3w" - ] + ], + "builtin-baseline": "f9f18a0d0325be221ce6f2462593acb20574e758" }