diff --git a/FirehoseFinder.csproj b/FirehoseFinder.csproj index cb425b7..97f870f 100644 --- a/FirehoseFinder.csproj +++ b/FirehoseFinder.csproj @@ -14,10 +14,10 @@ true - false - ftp://fhf.mywebcommunity.org/fhf.mywebcommunity.org/ + true + C:\Users\hoplik\OneDrive\Рабочий стол\Publishing\ true - Disk + Web true Background 7 @@ -25,6 +25,7 @@ false true true + http://fhf.mywebcommunity.org/ http://fhf.mywebcommunity.org/ https://github.com/hoplik/Firehose-Finder/ https://github.com/hoplik/Firehose-Finder/issues diff --git a/Forms/Form1.cs b/Forms/Form1.cs index ffae488..c82f357 100644 --- a/Forms/Form1.cs +++ b/Forms/Form1.cs @@ -26,12 +26,12 @@ namespace FirehoseFinder { public partial class Formfhf : Form { - Func func = new Func(); //Подключили функции - Guide guide = new Guide(); //Подключили справочник + private readonly Func func = new Func(); //Подключили функции + private readonly Guide guide = new Guide(); //Подключили справочник bool waitSahara = false; //Ждём ли мы автоперезагрузку с получением ID Sahara bool FHAlreadyLoaded = false; //Был ли успешно загружен программер (не надо грузить повторно) bool NeedReset = false; //Требуется ли перезагрузка устройства после работы с Сахарой - Flash_Disk flash_start = new Flash_Disk(0, 0, 1); + private readonly Flash_Disk flash_start = new Flash_Disk(0, 0, 1); internal Flash_Disk[] Flash_Params = new Flash_Disk[1]; internal DeviceData Global_ADB_Device = new DeviceData(); internal string Global_FB_Device = string.Empty; diff --git a/Func.cs b/Func.cs index 8c63a1e..c5a2128 100644 --- a/Func.cs +++ b/Func.cs @@ -15,7 +15,7 @@ namespace FirehoseFinder { class Func { - ResourceManager LocRes = new ResourceManager("FirehoseFinder.Properties.Resources", typeof(Formfhf).Assembly); + private readonly ResourceManager LocRes = new ResourceManager("FirehoseFinder.Properties.Resources", typeof(Formfhf).Assembly); /// /// Система исчисления, применяемая к строке знаков