Skip to content

Commit 44f2536

Browse files
committed
small adjustment of script formatting and instructions
1 parent 480f454 commit 44f2536

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/download_helper.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,21 @@ export default class DownloadHelper {
115115
}
116116

117117
const 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
129134
download_file() {
130135
local url="$1"
@@ -175,4 +180,5 @@ echo ""
175180
echo "Press any key to exit..."
176181
read -n 1
177182
178-
exit $FAILED`;
183+
exit $FAILED
184+
`;

0 commit comments

Comments
 (0)