mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong
This commit is contained in:
parent
222b5d3a39
commit
24ef69a7c8
@ -174,7 +174,8 @@ int main(int argc, char **argv) {
|
||||
case 'c': {
|
||||
struct ProductInformationBlock infoBlock;
|
||||
infoBlock.MARChannelID = MARChannelID;
|
||||
infoBlock.productVersion = productVersion;
|
||||
// Temporarily hardcoded - see Bug 735784
|
||||
infoBlock.productVersion = "13.0a1";//productVersion;
|
||||
return mar_create(argv[2], argc - 3, argv + 3, &infoBlock);
|
||||
}
|
||||
case 'i': {
|
||||
|
@ -219,6 +219,8 @@ ArchiveReader::VerifyProductInformation(const char *MARChannelID,
|
||||
}
|
||||
}
|
||||
|
||||
// Temporarily disabled - see Bug 735784
|
||||
#if 0
|
||||
if (rv == OK) {
|
||||
/* Compare both versions to ensure we don't have a downgrade
|
||||
-1 if appVersion is older than productInfoBlock.productVersion
|
||||
@ -235,6 +237,7 @@ ArchiveReader::VerifyProductInformation(const char *MARChannelID,
|
||||
rv = VERSION_DOWNGRADE_ERROR;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
free((void *)productInfoBlock.MARChannelID);
|
||||
free((void *)productInfoBlock.productVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user