From 1330f01737260259831e2535bb66773e7608e802 Mon Sep 17 00:00:00 2001 From: Andrew Brock Date: Thu, 22 Feb 2024 22:19:46 +1100 Subject: [PATCH 1/3] Move startapp log file to Windows temp directory So that it is not included in the pushed backups --- startapp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startapp.sh b/startapp.sh index 10a58d5..a9f4deb 100644 --- a/startapp.sh +++ b/startapp.sh @@ -5,7 +5,7 @@ set -x release_version=$(cat "/RELEASE_VERSION") #backblaze-personal-wine version tag local_version_file="${WINEPREFIX}dosdevices/c:/ProgramData/Backblaze/bzdata/bzreports/bzserv_version.txt" install_exe_path="${WINEPREFIX}dosdevices/c:/" -log_file="${WINEPREFIX}dosdevices/c:/backblaze-wine-startapp.log" +log_file="${WINEPREFIX}dosdevices/c:/windows/temp/backblaze-wine-startapp.log" custom_user_agent="backblaze-personal-wine/$release_version (JonathanTreffler, +https://github.com/JonathanTreffler/backblaze-personal-wine-container), CFNetwork" # Extracting variables from the PINNED_VERSION file From 84997646cef1be30954ca2da5a51667db19bdd0d Mon Sep 17 00:00:00 2001 From: Andrew Brock Date: Sun, 25 Feb 2024 22:17:29 +1100 Subject: [PATCH 2/3] Make log location configurable via an environemnt variable. --- README.md | 1 + startapp.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d972e5..9f10a28 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ Environment variables can be set by adding one or more arguments `-e "= Date: Mon, 26 Feb 2024 22:46:10 +1100 Subject: [PATCH 3/3] update based on feedback --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f10a28..39dad72 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Environment variables can be set by adding one or more arguments `-e "=