File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -115,16 +115,21 @@ export default class DownloadHelper {
115115}
116116
117117const preamble = `#!/usr/bin/env bash
118+
118119# Generated by Bandcamp Enhancement Suite (https://github.com/sabjorn/BandcampEnhancementSuite)
119120#
120- # The following can be used to batch download your recent purchase.
121+ # The following can be used to batch download your recent purchases.
122+ # NOTE: pasting into terminal may not work properly--please follow new instructions below
121123#
122124# Usage (Mac/Linux):
123125# 1) open Terminal
124126# 2) move to desired download directory (e.g. \`cd ~/Downloads/bandcamp\`)
125- # 3) paste the text of this file into Terminal -- note: \`bash <this file>.txt\' is also supported\n\n` ;
127+ # 3) run script (e.g. \`bash <this filename>.txt\`
128+
129+ ` ;
126130
127- const postamble = `DEFAULT_BATCH_SIZE=5
131+ const postamble = `
132+ DEFAULT_BATCH_SIZE=5
128133
129134download_file() {
130135 local url="$1"
@@ -175,4 +180,5 @@ echo ""
175180echo "Press any key to exit..."
176181read -n 1
177182
178- exit $FAILED` ;
183+ exit $FAILED
184+ ` ;
You can’t perform that action at this time.
0 commit comments