[RELEASE] Release 5.4.5.
[BUG_FIXED] Disable auto-update checking under Win7 due to the lamentable UAC. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@513 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
f71ca5e4d8
commit
75d6569db7
Binary file not shown.
@ -573,10 +573,6 @@ SubSection "Auto-completion Files" autoCompletionComponent
|
||||
File "..\bin\plugins\APIs\nsis.xml"
|
||||
SectionEnd
|
||||
|
||||
Section AWK
|
||||
SetOutPath "$INSTDIR\plugins\APIs"
|
||||
File "..\bin\plugins\APIs\awk.xml"
|
||||
SectionEnd
|
||||
SubSectionEnd
|
||||
|
||||
SubSection "Plugins" Plugins
|
||||
|
@ -2,6 +2,10 @@ copy /Y ".\nativeLang\*.*" ..\bin\localization\
|
||||
|
||||
cd ..\bin\
|
||||
|
||||
del /F /Q .\npp.*.Installer.exe
|
||||
del /F /Q .\npp.bin.7z
|
||||
del /F /Q .\npp.bin.zip
|
||||
|
||||
del /F /S /Q .\zipped.package.release\unicode\*.*
|
||||
copy /Y license.txt .\zipped.package.release\unicode\
|
||||
copy /Y readme.txt .\zipped.package.release\unicode\
|
||||
|
@ -609,6 +609,13 @@ BOOL CALLBACK SettingsDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM)
|
||||
::SendDlgItemMessage(_hSelf, IDC_CHECK_REMEMBERSESSION, BM_SETCHECK, nppGUI._rememberLastSession, 0);
|
||||
::SendDlgItemMessage(_hSelf, IDC_CHECK_AUTOUPDATE, BM_SETCHECK, !nppGUI._neverUpdate, 0);
|
||||
|
||||
bool isVistaAndAfter = (pNppParam->getWinVersion() >= WV_VISTA);
|
||||
if (isVistaAndAfter)
|
||||
{
|
||||
::SendDlgItemMessage(_hSelf, IDC_CHECK_AUTOUPDATE, BM_SETCHECK, FALSE, 0);
|
||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_AUTOUPDATE), FALSE);
|
||||
}
|
||||
|
||||
::ShowWindow(::GetDlgItem(_hSelf, IDC_CHECK_AUTOUPDATE), nppGUI._doesExistUpdater?SW_SHOW:SW_HIDE);
|
||||
|
||||
BOOL linkEnable = FALSE;
|
||||
|
@ -291,8 +291,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int)
|
||||
bool doUpdate = !nppGui._neverUpdate;
|
||||
bool winSupported = (curWinVer >= WV_W2K);
|
||||
|
||||
// Vista UAC de mes couilles!!!
|
||||
bool isVista = (curWinVer == WV_VISTA);
|
||||
// Vista/Win7 UAC de mes couilles!!!
|
||||
bool isVista = (curWinVer >= WV_VISTA);
|
||||
|
||||
if (!winSupported)
|
||||
nppGui._doesExistUpdater = false;
|
||||
|
Loading…
Reference in New Issue
Block a user