remove; we generate a machine keypair on demand

doing things "on first run" is fragile: it might be interrupted, in which
case we either do it again next time (running first-run tasks more than
once) or we don't do any (skipping some of them).  instead, do things
on demand, and keep track of which tasks have completed
This commit is contained in:
Glenn Maynard
2005-05-19 20:55:05 +00:00
parent 077e7af34c
commit 78682940ea
-8
View File
@@ -844,11 +844,6 @@ void SaveGamePrefsToDisk()
ini.WriteFile( GAMEPREFS_INI_PATH );
}
static void OnFirstRun()
{
// TODO: generate a machine keypair here
}
static void MountTreeOfZips( const CString &dir )
{
vector<CString> dirs;
@@ -1081,9 +1076,6 @@ int main(int argc, char* argv[])
LOG->Info( "TLS is %savailable", RageThread::GetSupportsTLS()? "":"not " );
#endif
if( PREFSMAN->m_bFirstRun )
OnFirstRun();
CheckSettings();
GAMEMAN = new GameManager;