Subversion Repositories spk

Rev

Rev 89 | Rev 104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 102
Line 93... Line 93...
93
						found = true;
93
						found = true;
94
				}
94
				}
95
 
95
 
96
				if ( found ) {
96
				if ( found ) {
97
					if ( !m_pPackages->IsSupressProtectedWarning() ) {
97
					if ( !m_pPackages->IsSupressProtectedWarning() ) {
98
						if ( MessageBox::Show(this, "WARNING: The game directory:\n" + SystemStringFromCyString(dir) + "\n\nIs in a protected directory (" + SystemStringFromCyString(CFileIO(dir).GetDir().GetToken("/", 1, 2).findreplace("/", "\\")) + ")\n\nThis might cause problems with installing anything, its better to move to game elsewhere, or you may need to run the Plugin Manager with admin access rights\n\nWould you like to surpress this warning in the future?", "Protected Directory", MessageBoxButtons::YesNo, MessageBoxIcon::Warning) == Windows::Forms::DialogResult::Yes ) {
98
						if ( MessageBox::Show(this, "WARNING: The game directory:\n" + SystemStringFromCyString(dir) + "\n\nIs in a protected directory (" + _US(CFileIO(dir).dir().tokens("/", 1, 2).findReplace("/", "\\")) + ")\n\nThis might cause problems with installing anything, its better to move to game elsewhere, or you may need to run the Plugin Manager with admin access rights\n\nWould you like to surpress this warning in the future?", "Protected Directory", MessageBoxButtons::YesNo, MessageBoxIcon::Warning) == Windows::Forms::DialogResult::Yes ) {
99
							m_pPackages->SurpressProtectedWarning();
99
							m_pPackages->SurpressProtectedWarning();
100
						}
100
						}
101
					}
101
					}
102
				}
102
				}
103
			}
103
			}