Skip to content

Commit ab2e3d1

Browse files
committed
Remove updates- prefix in installer-downloader
1 parent ee96b5a commit ab2e3d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

installer-downloader/src/controller.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pub fn initialize_controller<T: AppDelegate + 'static>(delegate: &mut T) {
3737

3838
// Version info provider to use
3939
const STAGEMOLE_PUBKEY: &str = include_str!("../../mullvad-update/stagemole-pubkey");
40-
//"https://releases.mullvad.net/desktop/metadata/updater-windows.json"
4140
let verifying_key =
4241
mullvad_update::format::key::VerifyingKey::from_hex(STAGEMOLE_PUBKEY).expect("valid key");
4342
let version_provider = HttpVersionInfoProvider {
@@ -49,7 +48,7 @@ pub fn initialize_controller<T: AppDelegate + 'static>(delegate: &mut T) {
4948
AppController::initialize::<_, Downloader<T>, _, DirProvider>(delegate, version_provider)
5049
}
5150

52-
/// JSON files should be stored at `<base url>/updates-<platform>.json`.
51+
/// JSON files should be stored at `<base url>/<platform>.json`.
5352
fn get_metadata_url() -> String {
5453
const PLATFORM: &str = if cfg!(target_os = "windows") {
5554
"windows"
@@ -58,7 +57,7 @@ fn get_metadata_url() -> String {
5857
} else {
5958
panic!("Unsupported platform")
6059
};
61-
format!("https://releases.stagemole.eu/desktop/metadata/updates-{PLATFORM}.json")
60+
format!("https://releases.stagemole.eu/desktop/metadata/{PLATFORM}.json")
6261
}
6362

6463
impl AppController {

0 commit comments

Comments
 (0)