aboutsummaryrefslogtreecommitdiff
path: root/src/ship.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship.rs')
-rw-r--r--src/ship.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ship.rs b/src/ship.rs
index 6466a5f..7b684b3 100644
--- a/src/ship.rs
+++ b/src/ship.rs
@@ -94,6 +94,7 @@ impl Ship {
])
.output()?;
} else {
+ println!("Not remote");
output = Command::new("wget")
.args([
"-O",
@@ -112,7 +113,7 @@ impl Ship {
pub fn make_pretty_name(&self) -> String {
let safe_name = self.name.clone().to_lowercase().replace(" ", "-");
- let file_name = format!("{}-{}-{}.van", safe_name, self.version.clone(), self.shasum.0.clone());
+ let file_name = format!("{}-{}-{}.ship", safe_name, self.version.clone(), self.shasum.0.clone());
file_name
}