개정판 54687182
issue #000: update temp 폴더가 없을 경우 폴더 생성 로직 추가.
Change-Id: Ic0a59f89881e9c6d14994a833c1604399cdb0686
SmartUpdate/MainWindow.xaml.cs | ||
---|---|---|
56 | 56 |
|
57 | 57 |
void MainWindow_Loaded(object sender, RoutedEventArgs e) |
58 | 58 |
{ |
59 |
url = Environment.GetCommandLineArgs(); //file url |
|
59 |
url = Environment.GetCommandLineArgs(); //file url |
|
60 |
if(!Directory.Exists(TempFolder)) |
|
61 |
Directory.CreateDirectory(TempFolder); |
|
60 | 62 |
destfilepath = System.IO.Path.Combine(TempFolder, System.IO.Path.GetFileName(url[1])); |
61 | 63 |
splashText.Text = "Update Download Start..."; |
62 | 64 |
WebClient client = new WebClient(); |
내보내기 Unified diff