diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index 8b2c829..dd75896 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -237,7 +237,6 @@ private void DeleteUpdateFiles() string exePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + @"\"; string UpdaterExe = exePath + "Updater.exe"; string UpdateZip = exePath + "Crypto-Notepad-Update.zip"; - string ZipDll = exePath + "Ionic.Zip.dll"; if (File.Exists(UpdaterExe)) { File.Delete(UpdaterExe); @@ -246,10 +245,6 @@ private void DeleteUpdateFiles() { File.Delete(UpdateZip); } - if (File.Exists(ZipDll)) - { - File.Delete(ZipDll); - } } private void SaveConfirm() @@ -316,7 +311,6 @@ private void CheckForUpdates(bool autoCheck) MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (res == DialogResult.Yes) { - File.WriteAllBytes(exePath + "Ionic.Zip.dll", Resources.Ionic_Zip); File.WriteAllBytes(exePath + "Updater.exe", Resources.Updater); var pr = new Process(); pr.StartInfo.FileName = exePath + "Updater.exe"; @@ -1018,7 +1012,6 @@ private void StatusPanelLabel_Click(object sender, EventArgs e) MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (res == DialogResult.Yes) { - File.WriteAllBytes(exePath + "Ionic.Zip.dll", Resources.Ionic_Zip); File.WriteAllBytes(exePath + "Updater.exe", Resources.Updater); var pr = new Process(); pr.StartInfo.FileName = exePath + "Updater.exe"; diff --git a/Crypto Notepad/Properties/Resources.Designer.cs b/Crypto Notepad/Properties/Resources.Designer.cs index 7e6f049..c58d787 100644 --- a/Crypto Notepad/Properties/Resources.Designer.cs +++ b/Crypto Notepad/Properties/Resources.Designer.cs @@ -280,16 +280,6 @@ internal static System.Drawing.Bitmap information { } } - /// - /// Поиск локализованного ресурса типа System.Byte[]. - /// - internal static byte[] Ionic_Zip { - get { - object obj = ResourceManager.GetObject("Ionic_Zip", resourceCulture); - return ((byte[])(obj)); - } - } - /// /// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// diff --git a/Crypto Notepad/Resources/Ionic.Zip.dll b/Crypto Notepad/Resources/Ionic.Zip.dll deleted file mode 100644 index 95fa928..0000000 Binary files a/Crypto Notepad/Resources/Ionic.Zip.dll and /dev/null differ diff --git a/Crypto Notepad/Resources/Updater.exe b/Crypto Notepad/Resources/Updater.exe index 559fe41..bc4f3f0 100644 Binary files a/Crypto Notepad/Resources/Updater.exe and b/Crypto Notepad/Resources/Updater.exe differ