blob: c3c0aea47adcbf944af61d548def5a5f0560ca56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 11 february 2014
//package ui
package main
import (
"os"
)
func init() {
initDone := make(chan error)
go ui(initDone)
err := <-initDone
if err != nil {
// TODO provide copying instructions? will need to be system-specific
MsgBoxError("UI Library Init Failure",
"A failure occured during UI library initialization:\n%v\n" +
"Please report this to the application developer or on http://github.com/andlabs/ui.",
err)
os.Exit(1)
}
}
|