개정판 f7e7a61a
issue #000: Markus Client Log FilePath 수정
Change-Id: I7b5d8115e72f03554a2441beb5b2bdffc7b2de13
KCOM/App.xaml.cs | ||
---|---|---|
230 | 230 |
splash.Close(new TimeSpan(0, 0, 2)); |
231 | 231 |
} |
232 | 232 |
} |
233 |
else |
|
234 |
{ |
|
235 |
splash.Close(new TimeSpan(0, 0, 2)); |
|
236 |
} |
|
237 | 233 |
} |
238 | 234 |
catch (Exception ex) |
239 | 235 |
{ |
240 | 236 |
MessageBox.Show("Err" + ex.Message); |
241 | 237 |
} |
238 |
finally |
|
239 |
{ |
|
240 |
splash.Close(new TimeSpan(0, 0, 2)); |
|
241 |
} |
|
242 | 242 |
} |
243 | 243 |
|
244 | 244 |
/// <summary> |
... | ... | |
291 | 291 |
{ |
292 | 292 |
try |
293 | 293 |
{ |
294 |
string FilePath = "C:\\ProgramData\\MARKUS\\"; |
|
295 |
//string pathString = AppDomain.CurrentDomain.BaseDirectory + "Err"; |
|
296 |
string pathString = FilePath + "Err"; |
|
294 |
string pathString = AppDataFolder + "\\Err"; |
|
297 | 295 |
|
298 | 296 |
if (!File.Exists(pathString)) |
299 | 297 |
{ |
... | ... | |
307 | 305 |
catch (Exception er) |
308 | 306 |
{ |
309 | 307 |
string strError = er.ToString(); |
310 |
//MessageBox.Show("err : " + er); |
|
311 | 308 |
} |
312 | 309 |
} |
313 | 310 |
} |
내보내기 Unified diff