mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	Compare commits
	
		
			1 commit
		
	
	
		
			dfc72eab2d
			...
			1f2f3fcab8
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 1f2f3fcab8 | 
					 2 changed files with 5 additions and 11 deletions
				
			
		
							
								
								
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							|  | @ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL | ||||||
| IDD_DIALOG DIALOGEX 12, 12, 232, 326 | IDD_DIALOG DIALOGEX 12, 12, 232, 326 | ||||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||||||
| EXSTYLE WS_EX_ACCEPTFILES | EXSTYLE WS_EX_ACCEPTFILES | ||||||
| CAPTION "Rufus 4.6.2187" | CAPTION "Rufus 4.6.2186" | ||||||
| FONT 9, "Segoe UI Symbol", 400, 0, 0x0 | FONT 9, "Segoe UI Symbol", 400, 0, 0x0 | ||||||
| BEGIN | BEGIN | ||||||
|     LTEXT           "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP |     LTEXT           "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP | ||||||
|  | @ -397,8 +397,8 @@ END | ||||||
| // | // | ||||||
| 
 | 
 | ||||||
| VS_VERSION_INFO VERSIONINFO | VS_VERSION_INFO VERSIONINFO | ||||||
|  FILEVERSION 4,6,2187,0 |  FILEVERSION 4,6,2186,0 | ||||||
|  PRODUCTVERSION 4,6,2187,0 |  PRODUCTVERSION 4,6,2186,0 | ||||||
|  FILEFLAGSMASK 0x3fL |  FILEFLAGSMASK 0x3fL | ||||||
| #ifdef _DEBUG | #ifdef _DEBUG | ||||||
|  FILEFLAGS 0x1L |  FILEFLAGS 0x1L | ||||||
|  | @ -416,13 +416,13 @@ BEGIN | ||||||
|             VALUE "Comments", "https://rufus.ie" |             VALUE "Comments", "https://rufus.ie" | ||||||
|             VALUE "CompanyName", "Akeo Consulting" |             VALUE "CompanyName", "Akeo Consulting" | ||||||
|             VALUE "FileDescription", "Rufus" |             VALUE "FileDescription", "Rufus" | ||||||
|             VALUE "FileVersion", "4.6.2187" |             VALUE "FileVersion", "4.6.2186" | ||||||
|             VALUE "InternalName", "Rufus" |             VALUE "InternalName", "Rufus" | ||||||
|             VALUE "LegalCopyright", "<22> 2011-2024 Pete Batard (GPL v3)" |             VALUE "LegalCopyright", "<22> 2011-2024 Pete Batard (GPL v3)" | ||||||
|             VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" |             VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" | ||||||
|             VALUE "OriginalFilename", "rufus-4.6.exe" |             VALUE "OriginalFilename", "rufus-4.6.exe" | ||||||
|             VALUE "ProductName", "Rufus" |             VALUE "ProductName", "Rufus" | ||||||
|             VALUE "ProductVersion", "4.6.2187" |             VALUE "ProductVersion", "4.6.2186" | ||||||
|         END |         END | ||||||
|     END |     END | ||||||
|     BLOCK "VarFileInfo" |     BLOCK "VarFileInfo" | ||||||
|  |  | ||||||
|  | @ -31,7 +31,6 @@ | ||||||
| #include "resource.h" | #include "resource.h" | ||||||
| #include "registry.h" | #include "registry.h" | ||||||
| #include "msapi_utf8.h" | #include "msapi_utf8.h" | ||||||
| #include "timezoneapi.h" |  | ||||||
| #include "localization.h" | #include "localization.h" | ||||||
| 
 | 
 | ||||||
|  /* Memory leaks detection - define _CRTDBG_MAP_ALLOC as preprocessor macro */ |  /* Memory leaks detection - define _CRTDBG_MAP_ALLOC as preprocessor macro */ | ||||||
|  | @ -65,7 +64,6 @@ char* CreateUnattendXml(int arch, int flags) | ||||||
| 	const static char* unallowed_account_names[] = { "Administrator", "Guest", "KRBTGT", "Local" }; | 	const static char* unallowed_account_names[] = { "Administrator", "Guest", "KRBTGT", "Local" }; | ||||||
| 	static char path[MAX_PATH]; | 	static char path[MAX_PATH]; | ||||||
| 	FILE* fd; | 	FILE* fd; | ||||||
| 	TIME_ZONE_INFORMATION tz_info; |  | ||||||
| 	int i, order; | 	int i, order; | ||||||
| 	unattend_xml_flags = flags; | 	unattend_xml_flags = flags; | ||||||
| 	if (arch < ARCH_X86_32 || arch > ARCH_ARM_64 || flags == 0) { | 	if (arch < ARCH_X86_32 || arch > ARCH_ARM_64 || flags == 0) { | ||||||
|  | @ -201,10 +199,6 @@ char* CreateUnattendXml(int arch, int flags) | ||||||
| 				ReadRegistryKeyStr(REGKEY_HKCU, "Keyboard Layout\\Preload\\1")); | 				ReadRegistryKeyStr(REGKEY_HKCU, "Keyboard Layout\\Preload\\1")); | ||||||
| 			fprintf(fd, "      <SystemLocale>%s</SystemLocale>\n", ToLocaleName(GetSystemDefaultLCID())); | 			fprintf(fd, "      <SystemLocale>%s</SystemLocale>\n", ToLocaleName(GetSystemDefaultLCID())); | ||||||
| 			fprintf(fd, "      <UserLocale>%s</UserLocale>\n", ToLocaleName(GetUserDefaultLCID())); | 			fprintf(fd, "      <UserLocale>%s</UserLocale>\n", ToLocaleName(GetUserDefaultLCID())); | ||||||
| 			if (GetTimeZoneInformation(&tz_info) == TIME_ZONE_ID_INVALID) |  | ||||||
| 				uprintf("WARNING: Could not retrieve current timezone: %s", WindowsErrorString()); |  | ||||||
| 			else |  | ||||||
| 				fprintf(fd, "      <TimeZone>%S</TimeZone>\n", tz_info.StandardName); |  | ||||||
| 			fprintf(fd, "      <UILanguage>%s</UILanguage>\n", ToLocaleName(GetUserDefaultUILanguage())); | 			fprintf(fd, "      <UILanguage>%s</UILanguage>\n", ToLocaleName(GetUserDefaultUILanguage())); | ||||||
| 			fprintf(fd, "      <UILanguageFallback>%s</UILanguageFallback>\n", | 			fprintf(fd, "      <UILanguageFallback>%s</UILanguageFallback>\n", | ||||||
| 				// NB: Officially, this is a REG_MULTI_SZ string
 | 				// NB: Officially, this is a REG_MULTI_SZ string
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue