Merge pull request #5346 from hpwamr/Mui_Beta

Adjust: the dimensions of "Opera Promotion" page in Notepad3_Setup
This commit is contained in:
Pairi Daiza 2024-12-09 00:19:12 +01:00 committed by GitHub
commit 8fb4ecd9da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 10 deletions

View File

@ -105,7 +105,6 @@ ArchitecturesInstallIn64BitMode=x64compatible
#endif
CloseApplications=true
SetupMutex={#app_name}_setup_mutex,Global\{#app_name}_setup_mutex
SetupIconFile=.\Resources\Notepad3SetupIconFile.ico
[Languages]
@ -1385,15 +1384,15 @@ procedure InitializeWizard();
begin
// High-DPI screen
PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen_HiDPI.bmp');
OriginalWidth := 602; // Width of the high-DPI image
OriginalHeight := 300; // Height of the high-DPI image
OriginalWidth := 802; // Width of the high-DPI image
OriginalHeight := 400; // Height of the high-DPI image
end
else
begin
// Normal DPI screen
PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen.bmp');
OriginalWidth := 402; // Width of the normal image
OriginalHeight := 200; // Height of the normal image
OriginalWidth := 450; // Width of the normal image
OriginalHeight := 236; // Height of the normal image
end;
// Extract and load the appropriate promo image

View File

@ -105,7 +105,6 @@ ArchitecturesInstallIn64BitMode=x64compatible
#endif
CloseApplications=true
SetupMutex={#app_name}_setup_mutex,Global\{#app_name}_setup_mutex
SetupIconFile=.\Resources\Notepad3SetupIconFile.ico
[Languages]
@ -1385,15 +1384,15 @@ procedure InitializeWizard();
begin
// High-DPI screen
PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen_HiDPI.bmp');
OriginalWidth := 602; // Width of the high-DPI image
OriginalHeight := 300; // Height of the high-DPI image
OriginalWidth := 802; // Width of the high-DPI image
OriginalHeight := 400; // Height of the high-DPI image
end
else
begin
// Normal DPI screen
PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen.bmp');
OriginalWidth := 402; // Width of the normal image
OriginalHeight := 200; // Height of the normal image
OriginalWidth := 450; // Width of the normal image
OriginalHeight := 236; // Height of the normal image
end;
// Extract and load the appropriate promo image