From 2278481357c1d8f4d3ff80709430b67456bf080d Mon Sep 17 00:00:00 2001 From: marelct Date: Sat, 25 Mar 2023 19:16:45 +0100 Subject: [PATCH 1/2] changed the download links to point directly to the download pages --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b7ad6c..370e775 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ Installing a modpack will also generate a profile. However, the profile doesn't ## Compiling To compile the program yourself, some libraries are needed: -- [Apache Commons IO](https://commons.apache.org/proper/commons-io/) -- [jansi](https://github.com/fusesource/jansi) -- [JSON Simple](https://code.google.com/archive/p/json-simple) +- [Apache Commons IO](https://commons.apache.org/proper/commons-io/download_io.cgi) +- [jansi](https://fusesource.github.io/jansi/download.html) +- [JSON Simple](https://code.google.com/archive/p/json-simple/downloads) Download them and put them somewhere. From 8f3986ac21cc9e4031d61d256f0dc686b5323042 Mon Sep 17 00:00:00 2001 From: marelct Date: Sat, 25 Mar 2023 21:44:58 +0100 Subject: [PATCH 2/2] added instructions to build the project on VSCode --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 370e775..28db22c 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,7 @@ To compile the program yourself, some libraries are needed: Download them and put them somewhere. -This program is compiled with IntelliJ, so I don't know how to compile it outside of IntelliJ. -Anyway, follow the steps: +This program is compiled with IntelliJ, here are the steps to follow if you're using it: 1. Download the repository by `git clone` or downloading as ZIP and extract it. 2. Launch IntelliJ IDEA if you haven't. 3. Open the directory where the files are extracted into. @@ -79,6 +78,16 @@ Anyway, follow the steps: 10. In the little window, choose Build. 11. The `.jar` file should be built inside `out/artifacts`. +Steps to follow if you're using VSCode: +1. Open VSCode, make sure you have the `Extension Pack for Java` installed. +2. Download the repository by going on the left panel->Source Control->Clone Repository and paste the git clone link. +3. Create a new folder in the root directory and call it lib. +4. Download and extract all the necessary libraries, then put the jar files in the lib directory. +5. Press ctrl+shift+p and search for `Tasks:Configure Default Build Task`, select buildArtifact. +6. Copy and substitute this: `"targetPath": "${workspaceFolder}/out/artifacts/curseforge-cli.jar"`. +7. Press ctrl+shift+b OR ctrl+shift+p and search for `Tasks:Run Build Task` to build. +8. The `.jar` file should be built inside `out/artifacts`. + ## Support If you want to support me, please consider becoming [my Patron](https://www.patreon.com/nww).