Added support for PDFs and Images
This commit is contained in:
@@ -20,6 +20,7 @@ namespace PWAppUpdater2
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Directory.SetCurrentDirectory("C:\\PWAPP");
|
||||
label1.Text = "Updating.... Please wait.";
|
||||
label1.Update();
|
||||
progressBar1.Maximum = 8;
|
||||
@@ -27,7 +28,7 @@ namespace PWAppUpdater2
|
||||
button1.Enabled = false;
|
||||
try
|
||||
{
|
||||
PWAppUpdater.Updater.Update("C:\\PWAPP\\App\\", progressBar1, StepInfo, "C:\\PWAPP\\Temp\\");
|
||||
PWAppUpdater.Updater.Update("C:\\PWAPP\\App", progressBar1, StepInfo, "C:\\PWAPP\\Temp");
|
||||
}
|
||||
catch (NoAuthException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user