Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
19
scripts/windows-gen-syso.sh
Executable file
19
scripts/windows-gen-syso.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
# Run goversioninfo to generate the resource.syso to embed version info.
|
||||
set -eux
|
||||
|
||||
NAME="Telegraf"
|
||||
VERSION=$(cd ../../ && make version)
|
||||
FLAGS=()
|
||||
|
||||
# If building for arm64, then include the extra flags required.
|
||||
if [ -n "${1+x}" ] && [ "$1" = "arm64" ]; then
|
||||
FLAGS=(-arm -64)
|
||||
fi
|
||||
|
||||
goversioninfo "${FLAGS[@]}" \
|
||||
-product-name "$NAME" \
|
||||
-product-version "$VERSION" \
|
||||
-skip-versioninfo \
|
||||
-icon=../../assets/windows/tiger.ico \
|
||||
-o resource.syso
|
Loading…
Add table
Add a link
Reference in a new issue