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:
parent
98ad91b8c5
commit
4bb14093fc
@ -869,6 +869,7 @@ void CampoSetup::DiskUpdate()
|
|||||||
fn.MakeAbsolute();
|
fn.MakeAbsolute();
|
||||||
fn.SetFullName("install.ini");
|
fn.SetFullName("install.ini");
|
||||||
const wxString strLocalPath = fn.GetPath();
|
const wxString strLocalPath = fn.GetPath();
|
||||||
|
|
||||||
wxString strRemotePath;
|
wxString strRemotePath;
|
||||||
{
|
{
|
||||||
CampoIniFile iniLocalInstall(fn.GetFullPath(), "Main");
|
CampoIniFile iniLocalInstall(fn.GetFullPath(), "Main");
|
||||||
@ -1464,7 +1465,9 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
|
|||||||
m_strSetupPath.MakeLower();
|
m_strSetupPath.MakeLower();
|
||||||
if (!m_strSetupPath.EndsWith("setup"))
|
if (!m_strSetupPath.EndsWith("setup"))
|
||||||
{
|
{
|
||||||
m_strSetupPath << "\\setup";
|
if (!m_strSetupPath.EndsWith(wxT("\\")))
|
||||||
|
m_strSetupPath << '\\';
|
||||||
|
m_strSetupPath << "setup";
|
||||||
wxSetWorkingDirectory(m_strSetupPath);
|
wxSetWorkingDirectory(m_strSetupPath);
|
||||||
}
|
}
|
||||||
if (!m_strSetupPath.EndsWith(wxT("\\")))
|
if (!m_strSetupPath.EndsWith(wxT("\\")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user