Skip to content

Commit 5a66a84

Browse files
committed
Mistx support.
1 parent 3605446 commit 5a66a84

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cmd/deviceparameter/deviceparameter.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
const ApplicationVersionMajor = 0
25-
const ApplicationVersionMinor = 4
25+
const ApplicationVersionMinor = 5
2626
const ApplicationVersionPatch = 0
2727

2828
var ApplicationBuildDate string
@@ -172,6 +172,12 @@ type Options struct {
172172

173173
func main() {
174174

175+
// Alpha version expiration deadline
176+
if t, err := time.Parse(time.RFC3339, "2026-12-31T00:00:00Z"); err != nil || time.Now().Unix() > t.Unix() {
177+
fmt.Printf("Internal error\n")
178+
os.Exit(1)
179+
}
180+
175181
var opts Options
176182
opts.ShowVersion = func() {
177183
if ApplicationBuildDate == "" {

0 commit comments

Comments
 (0)