Add quoting instructions to README

This commit is contained in:
I-Al-Istannen 2020-11-04 22:08:33 +01:00
parent f830b42a36
commit 6f78fef604
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ jobs:
- name: "Upload release artifacts" - name: "Upload release artifacts"
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
body: "Download the correct sync_url for your platform and run it in the terminal or CMD. You might need to make it executable on Linux/Mac with `chmod +x <file>`." body: "Download the correct sync_url for your platform and run it in the terminal or CMD. You might need to make it executable on Linux/Mac with `chmod +x <file>`. Also please *quote the url you pass to the program* or your shell might silently screw it up!"
files: | files: |
pferd_sync_url_mac pferd_sync_url_mac
pferd_sync_url_linux pferd_sync_url_linux

View File

@ -25,7 +25,8 @@ use, but doesn't expose all the configuration options and tweaks a full install
does. does.
1. Download the `sync_url` binary from the [latest release](https://github.com/Garmelon/PFERD/releases/latest). 1. Download the `sync_url` binary from the [latest release](https://github.com/Garmelon/PFERD/releases/latest).
2. Run the binary in your terminal (`./sync_url` or `sync_url.exe` in the CMD) to see the help and use it. I'd recommend using the `--cookies` option. 2. Recognize that you most likely need to enclose the URL in `''` quotes to prevent your shell from interpreting `&` and other symbols
3. Run the binary in your terminal (`./sync_url` or `sync_url.exe` in the CMD) to see the help and use it. I'd recommend using the `--cookies` option.
If you are on **Linux/Mac**, you need to *make the file executable* using `chmod +x <file>`. If you are on **Linux/Mac**, you need to *make the file executable* using `chmod +x <file>`.
If you are on **Mac**, you need to allow this unverified program to run (see e.g. [here](https://www.switchingtomac.com/tutorials/osx/how-to-run-unverified-apps-on-macos/)) If you are on **Mac**, you need to allow this unverified program to run (see e.g. [here](https://www.switchingtomac.com/tutorials/osx/how-to-run-unverified-apps-on-macos/))