From add9082d91e8349744635014c1dd39e55d333d5e Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Thu, 22 Feb 2024 06:14:49 -0600 Subject: [PATCH] Seperate update and setup script !!! Fuck !!! --- README.md | 2 +- setup.sh | 4 ++++ update.sh | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 setup.sh diff --git a/README.md b/README.md index 2906d61..47e4459 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Downloader from Last.fm scrobble to MP3 file. Uploads to Nextcloud because it ca To install LastFMDownloader, you need to run `git clone` in the path you desire. The program does not require root privileges, so your user's home folder will suffice. -After you have cloned the application, run `./update.sh` in order to pull the latest version and install the required npm packages. Now, LastFMDownloader can be set up. +After you have cloned the application, run `./setup.sh` in order to install the required npm packages. Now, LastFMDownloader can be set up. ### .env file Here's `.env.example` in its entirety. We will go through each section, filling out each variable as we go. diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..f708921 --- /dev/null +++ b/setup.sh @@ -0,0 +1,4 @@ +#!/bin/bash +touch last_song.txt +mv .env.example .env +npm i \ No newline at end of file diff --git a/update.sh b/update.sh index d459c3c..f80aa8a 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,2 @@ #!/bin/bash -touch last_song.txt -mv .env.example .env git pull && npm i \ No newline at end of file