diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-03 15:56:44 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-03 15:56:44 +0300 |
| commit | 128ec101e9f061b2778f296bdde2fa1649987228 (patch) | |
| tree | 857f46e637c6a822922a26a03483769f4659d449 /embeds/embeds.go | |
| parent | 3feffc0f77c5c525be15981791d948dc65784297 (diff) | |
Fixed newline in version string
Diffstat (limited to 'embeds/embeds.go')
| -rw-r--r-- | embeds/embeds.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embeds/embeds.go b/embeds/embeds.go index 8bb7787..419efec 100644 --- a/embeds/embeds.go +++ b/embeds/embeds.go @@ -46,3 +46,8 @@ var ( PrivacyPolicy atomic.Value TosPrivacyHash atomic.Value ) + +func init() { + // Strip \n from file import + Version = Version[:len(Version)-1] +} |
