Skip to content

Commit 4e2ed70

Browse files
committed
Remove updates- prefix in meta tool
1 parent 5b02509 commit 4e2ed70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mullvad-update/meta/src/platform.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::{
1919
};
2020

2121
/// Base URL for metadata found with `meta pull`.
22-
/// Actual JSON files should be stored at `<base url>/updates-<platform>.json`.
22+
/// Actual JSON files should be stored at `<base url>/<platform>.json`.
2323
const META_REPOSITORY_URL: &str = "https://releases.stagemole.eu/desktop/metadata/";
2424

2525
#[derive(Clone, Copy)]
@@ -100,9 +100,9 @@ impl Platform {
100100

101101
fn published_filename(&self) -> &str {
102102
match self {
103-
Platform::Windows => "updates-windows.json",
104-
Platform::Linux => "updates-linux.json",
105-
Platform::Macos => "updates-macos.json",
103+
Platform::Windows => "windows.json",
104+
Platform::Linux => "linux.json",
105+
Platform::Macos => "macos.json",
106106
}
107107
}
108108

0 commit comments

Comments
 (0)