mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-11 10:08:49 -06:00
prevent stdout from tar, feed executable shell args, add sh passthrough in README
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1 +1,4 @@
|
|||||||
/target
|
/target
|
||||||
|
*.tar.gz
|
||||||
|
*.zip
|
||||||
|
spotify-quickauth
|
||||||
@@ -9,7 +9,7 @@ You can install this application, but most people will just need it once. The fo
|
|||||||
For Linux and macOS, you can paste this command into your terminal:
|
For Linux and macOS, you can paste this command into your terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSL https://xevion.github.io/spotify-quickauth/run.sh | sh
|
curl -sSL https://xevion.github.io/spotify-quickauth/run.sh | sh -s --
|
||||||
```
|
```
|
||||||
|
|
||||||
For Windows, you can paste this command into PowerShell:
|
For Windows, you can paste this command into PowerShell:
|
||||||
|
|||||||
4
run.sh
4
run.sh
@@ -29,8 +29,8 @@ fi
|
|||||||
|
|
||||||
EXECUTABLE="spotify-quickauth"
|
EXECUTABLE="spotify-quickauth"
|
||||||
curl -Lso $EXECUTABLE.tar.gz $DOWNLOAD_URL
|
curl -Lso $EXECUTABLE.tar.gz $DOWNLOAD_URL
|
||||||
tar -xvf $EXECUTABLE.tar.gz $EXECUTABLE
|
tar -xvf $EXECUTABLE.tar.gz $EXECUTABLE 1>/dev/null
|
||||||
rm $EXECUTABLE.tar.gz
|
rm $EXECUTABLE.tar.gz
|
||||||
chmod +x $EXECUTABLE
|
chmod +x $EXECUTABLE
|
||||||
trap "rm -f $EXECUTABLE" INT EXIT
|
trap "rm -f $EXECUTABLE" INT EXIT
|
||||||
./$EXECUTABLE
|
./$EXECUTABLE $@
|
||||||
Reference in New Issue
Block a user