mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-02 00:10:22 +02:00
macOS: use HTTPS for downloads (#326)
This commit is contained in:
parent
489fdaefb7
commit
3915d6c312
@ -108,7 +108,7 @@
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
self->currentArchiveName = @"WoG";
|
||||
self->currentArchiveFilename = @"/wog.zip";
|
||||
NSURL* url = [NSURL URLWithString:@"http://download.vcmi.eu/WoG/wog.zip"];
|
||||
NSURL* url = [NSURL URLWithString:@"https://download.vcmi.eu/WoG/wog.zip"];
|
||||
self.download = [[NSURLDownload alloc] initWithRequest:[NSURLRequest requestWithURL:url] delegate:self];
|
||||
});
|
||||
}
|
||||
@ -131,7 +131,7 @@
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
self->currentArchiveName = @"VCMI";
|
||||
self->currentArchiveFilename = @"/core.zip";
|
||||
NSURL* url = [NSURL URLWithString:@"http://download.vcmi.eu/core.zip"];
|
||||
NSURL* url = [NSURL URLWithString:@"https://download.vcmi.eu/core.zip"];
|
||||
self.download = [[NSURLDownload alloc] initWithRequest:[NSURLRequest requestWithURL:url] delegate:self];
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user