Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
sistemato problema scelta path in caso di aggiornamento internet di una installazione su disco di rete (casino di Bibò)


git-svn-id: svn://10.65.10.50/trunk@19060 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-06-18 15:35:44 +00:00
parent 98ad91b8c5
commit 4bb14093fc

View File

@ -869,6 +869,7 @@ void CampoSetup::DiskUpdate()
fn.MakeAbsolute();
fn.SetFullName("install.ini");
const wxString strLocalPath = fn.GetPath();
wxString strRemotePath;
{
CampoIniFile iniLocalInstall(fn.GetFullPath(), "Main");
@ -1464,7 +1465,9 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
m_strSetupPath.MakeLower();
if (!m_strSetupPath.EndsWith("setup"))
{
m_strSetupPath << "\\setup";
if (!m_strSetupPath.EndsWith(wxT("\\")))
m_strSetupPath << '\\';
m_strSetupPath << "setup";
wxSetWorkingDirectory(m_strSetupPath);
}
if (!m_strSetupPath.EndsWith(wxT("\\")))