jantari / rewinged

rewinged is a self-hosted winget package source
MIT License
43 stars 6 forks source link

goversioninfo is Windows centric #11

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

https://github.com/jantari/rewinged/blob/main/main.go#L1


//go:generate goversioninfo

package main

goversioninfo - Its only for Windows, and the compiler blows up on a non windows machine.

https://github.com/josephspurrier/goversioninfo

go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest

versioned - its for all OS.

https://github.com/greenpau/versioned

go install github.com/greenpau/versioned/cmd/versioned@latest

so I suggest we use flags to allow both.. yes ?