From 2df18b7575e334493596a3b722d3ff8a678f9870 Mon Sep 17 00:00:00 2001 From: Leo Robinovitch Date: Tue, 23 Jan 2024 18:05:37 -0800 Subject: [PATCH] Update installation instructions --- README.md | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 8e8b5d2..93a2756 100644 --- a/README.md +++ b/README.md @@ -36,41 +36,32 @@ webtoon-dl --eps-per-file=1000000 "" ## Installation -### Homebrew (Mac, Linux) - ```shell +# homebrew brew install robinovitch61/tap/webtoon-dl -``` -To upgrade the version installed with homebrew: -```shell +# upgrade using homebrew brew update && brew upgrade webtoon-dl -``` -### Download from Github (Mac, Linux, Windows) +# windows with winget +winget install robinovitch61.webtoon-dl -Download the relevant binary for your operating system (MacOS = Darwin) from -the [latest github release](https://github.com/robinovitch61/webtoon-dl/releases). Unpack/extract it, then move the -binary or .exe to somewhere accessible in your `PATH`, e.g. `mv ./webtoon-dl /usr/local/bin`. +# windows with scoop +scoop bucket add robinovitch61 https://github.com/robinovitch61/scoop-bucket +scoop install webtoon-dl -### Using [go installed on your machine](https://go.dev/doc/install) (Mac, Linux, Windows) +# windows with chocolatey +choco install webtoon-dl -```shell +# with go (https://go.dev/doc/install) go install github.com/robinovitch61/webtoon-dl@latest ``` -### Step by Step Windows Installation Instructions - -1. Check the processor type you're using by going to System Information and looking at Processor. Go to [this page](https://github.com/robinovitch61/webtoon-dl/releases). If your Processor says "Intel" anywhere, download the file that ends in "Windows\_i386.tar.gz" by clicking it. If it says "Arm", instead click the file that ends in "Windows\_arm64.tar.gz". -2. Once the file is downloaded to your Downloads folder, you have to unzip and extract it. If you use [7zip](https://www.7-zip.org/), you can right click the file and hit "7zip -> Extract here", then right click the ".tar" file that's created and hit "7zip -> Extract here" again. You should end up with a file called "webtoon-dl.exe" in your Downloads folder. -3. If Windows thinks the .exe file is malware and deletes it automatically, you can prevent that by temporarily disabling "Real time protection" under "Virus & threat protection settings", following step 2 again to get back the .exe, then [adding an exclusion for it](https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26). This isn't malware, it's just some code I wrote in go, with all the source code available [here](https://github.com/robinovitch61/webtoon-dl/blob/main/main.go). -4. Once you have the .exe in your Downloads and Windows isn't going to auto-remove it, you can open the Command Prompt: - 1. First, type `cd Downloads` and hit enter to get to your Downloads folder - 2. Now confirm that "webtoon-dl.exe" shows up in the output when you type `dir` and hit enter - 3. Setup is over! -5. Still in the Command Prompt, now run, for example, `webtoon-dl.exe "https://www.webtoons.com/en/slice-of-life/bugtopia/ep-8-a-special-gift/viewer?title_no=4842&episode_no=8"`. This will run and print what it's doing, then output a PDF file of that comic in your Downloads folder. +Alternatively, download the relevant binary for your operating system (MacOS = Darwin) from +the [latest github release](https://github.com/robinovitch61/webtoon-dl/releases). Unpack/extract it, then move the +binary or .exe to somewhere accessible in your `PATH`, e.g. `mv ./webtoon-dl /usr/local/bin`. ## Build from Source (Mac, Linux, Windows) -Clone this repo, build from source with `cd && go build`. This will create the executable (e.g. `wander`) in the current directory. +Clone this repo, build from source with `cd && go build`. This will create the executable (e.g. `webtoon-dl`) in the current directory.