rclone: Persist rclone.conf (#2908)

* Persist rclone.conf in application directory for portability. Fix issue #1634

* Address comments about omitting error msg

* Update rclone.json

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
CrendKing 2021-11-08 22:11:59 -08:00 committed by GitHub
parent ee561b5784
commit b668c3de23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,9 @@
"extract_dir": "rclone-v1.56.2-windows-386" "extract_dir": "rclone-v1.56.2-windows-386"
} }
}, },
"pre_install": "if (!(Test-Path \"$persist_dir\\rclone.conf\")) { New-Item -ItemType File \"$dir\\rclone.conf\" | Out-Null }",
"bin": "rclone.exe", "bin": "rclone.exe",
"persist": "rclone.conf",
"checkver": { "checkver": {
"github": "https://github.com/rclone/rclone" "github": "https://github.com/rclone/rclone"
}, },