Subversion Repositories spk

Rev

Rev 227 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 235
Line 181... Line 181...
181
	RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
181
	RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
182
	if ( searchKey )
182
	if ( searchKey )
183
	{
183
	{
184
		searchKey->SetValue("Run", System::Windows::Forms::Application::ExecutablePath);
184
		searchKey->SetValue("Run", System::Windows::Forms::Application::ExecutablePath);
185
		searchKey->SetValue("Version", (float)PMLVERSION);
185
		searchKey->SetValue("Version", (float)PMLVERSION);
186
		searchKey->SetValue("Beta", (int)PMLBETA);
186
		searchKey->SetValue("Beta", safe_cast<System::Object ^>(PMLBETA));
187
	}
187
	}
188
 
188
 
189
 
189
 
190
	if ( File::Exists(mydoc + "\\Egosoft\\pluginmanager_load.dat") )
190
	if ( File::Exists(mydoc + "\\Egosoft\\pluginmanager_load.dat") )
191
		File::Delete(mydoc + "\\Egosoft\\pluginmanager_load.dat");
191
		File::Delete(mydoc + "\\Egosoft\\pluginmanager_load.dat");