diff --git a/create_release.sh b/create_release.sh index 20692fa..7eebeb3 100755 --- a/create_release.sh +++ b/create_release.sh @@ -202,24 +202,28 @@ check_cross() { fi } +# Build, using cross-rs, for linux x86 musl cross_build_x86_linux() { check_cross echo -e "${YELLOW}cross build --target x86_64-unknown-linux-musl --release${RESET}" cross build --target x86_64-unknown-linux-musl --release } +# Build, using cross-rs, for linux arm64 musl cross_build_aarch64_linux() { check_cross echo -e "${YELLOW}cross build --target aarch64-unknown-linux-musl --release${RESET}" cross build --target aarch64-unknown-linux-musl --release } +# Build, using cross-rs, for linux armv6 musl cross_build_armv6_linux() { check_cross echo -e "${YELLOW}cross build --target arm-unknown-linux-musleabihf --release${RESET}" cross build --target arm-unknown-linux-musleabihf --release } +# Build, using cross-rs, for windows x86 cross_build_x86_windows() { check_cross echo -e "${YELLOW}cross build --target x86_64-pc-windows-gnu --release${RESET}" diff --git a/example_config/example.config.jsonc b/example_config/example.config.jsonc index 1a838cd..e3eeef1 100644 --- a/example_config/example.config.jsonc +++ b/example_config/example.config.jsonc @@ -21,7 +21,7 @@ // Docker host location "host": "/var/run/docker.sock", // Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.01234567 - // *Should* accept any valid strftime string up to 32 chars + // *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/ "timestamp_format": "%Y-%m-%dT%H:%M:%S.%8f", // Display the container logs timestamp with a given timezone, if timezone is unknown, defaults to UTC "timezone": "Etc/UTC", diff --git a/example_config/example.config.toml b/example_config/example.config.toml index 66162bd..8d9180a 100644 --- a/example_config/example.config.toml +++ b/example_config/example.config.toml @@ -31,7 +31,7 @@ host = "/var/run/docker.sock" timezone = "Etc/UTC" # Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z -# *Should* accept any valid strftime string up to 32 chars +# *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/ timestamp_format="%Y-%m-%dT%H:%M:%S.%8f" # Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows diff --git a/src/config/config.toml b/src/config/config.toml index 66162bd..8d9180a 100644 --- a/src/config/config.toml +++ b/src/config/config.toml @@ -31,7 +31,7 @@ host = "/var/run/docker.sock" timezone = "Etc/UTC" # Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z -# *Should* accept any valid strftime string up to 32 chars +# *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/ timestamp_format="%Y-%m-%dT%H:%M:%S.%8f" # Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows