func checkConfig() {
	runExe, err := walk.RegistryKeyString(walk.ClassesRootKey(), "starsiege", "Executable")
	if err != nil {
		debugError("Unable to find key HKCR\\starsiege\\Executable")
		return
	}
	win.MessageBox(win.HWND_DESKTOP, L(runExe), L("Configuration Check"), win.MB_OK|win.MB_ICONINFORMATION)
}
// checkConfig ensures our key is readable
// TODO: some duplicated code here, but I'm a bit too tired to refactor this
checkConfig ensures our key is readable
TODO: some duplicated code here, but I'm a bit too tired to refactor this
// checkConfig ensures our key is readable // TODO : some duplicated code here but I ' m a bit too tired to refactor this
func checkConfig() {
	runExe, err := walk.RegistryKeyString(walk.ClassesRootKey(), "starsiege", "Executable")
	if err != nil {
		debugError("Unable to find key HKCR\\starsiege\\Executable")
		return
	}
	win.MessageBox(win.HWND_DESKTOP, L(runExe), L("Configuration Check"), win.MB_OK|win.MB_ICONINFORMATION)
}
func checkConfig ( ) { runExe , err := walk . RegistryKeyString ( walk . ClassesRootKey ( ) , " " , " " ) if err != nil { debugError ( " \\ \\ " ) return } win . MessageBox ( win . HWND_DESKTOP , L ( runExe ) , L ( " " ) , win . MB_OK | win . MB_ICONINFORMATION ) }
checkConfig ensures our key is readable
TODO: some duplicated code here, but I'm a bit too tired to refactor this
checkConfig ensures our key is readable TODO : some duplicated code here but I ' m a bit too tired to refactor this