diff --git a/PrinterApp/AutoUpdater.cs b/PrinterApp/AutoUpdater.cs index 079bfdd..6f33536 100644 --- a/PrinterApp/AutoUpdater.cs +++ b/PrinterApp/AutoUpdater.cs @@ -215,7 +215,7 @@ private static void CreateUpdateBat() private const string BatFile = @"@echo off echo start setlocal -timeout 5 +timeout 61 for /f ""tokens=2 delims=="" %%a in ('wmic OS Get localdatetime /value') do set ""dt=%%a"" set ""YY=%dt:~2,2%"" & set ""YYYY=%dt:~0,4%"" & set ""MM=%dt:~4,2%"" & set ""DD=%dt:~6,2%"" set ""HH=%dt:~8,2%"" & set ""Min=%dt:~10,2%"" & set ""Sec=%dt:~12,2%"" diff --git a/PrinterApp/PrinterApp.csproj b/PrinterApp/PrinterApp.csproj index 296c6cb..07cbdec 100644 --- a/PrinterApp/PrinterApp.csproj +++ b/PrinterApp/PrinterApp.csproj @@ -11,7 +11,7 @@ PrinterApp gui for work https://app.profcomff.com/print/docs Dyakov EI - 2.1.12.0 + 2.1.12.1 dyakov.space dyakov.space @ 2023