Skip to content

Commit

Permalink
actually fix silent installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Mar 20, 2020
1 parent ba1183e commit 553bbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Installer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ int RunInstaller(Flags* cli) {
return RunInstallerRaMicro();
}

if (!IsProcessAndOsArchSame()) {
if (!gCli->silent && !IsProcessAndOsArchSame()) {
logf("Mismatch of the OS and executable arch\n");
char* msg =
"You're installing 32-bit SumatraPDF on 64-bit OS. Are you sure?\nPress 'Ok' to proceed.\nPress 'Cancel' "
Expand Down

0 comments on commit 553bbff

Please sign in to comment.