File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub enum Installer {
56
56
}
57
57
58
58
impl Installer {
59
- fn suffix ( self ) -> & ' static str {
59
+ fn name ( self ) -> & ' static str {
60
60
match self {
61
61
Self :: AppImage => "appimage" ,
62
62
Self :: Deb => "deb" ,
@@ -554,7 +554,7 @@ impl Updater {
554
554
let arch = self . arch ;
555
555
let mut targets = Vec :: new ( ) ;
556
556
if let Some ( installer) = installer {
557
- let installer = installer. suffix ( ) ;
557
+ let installer = installer. name ( ) ;
558
558
targets. push ( format ! ( "{os}-{arch}-{installer}" ) ) ;
559
559
}
560
560
targets. push ( format ! ( "{os}-{arch}" ) ) ;
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ impl BundleTarget {
103
103
}
104
104
}
105
105
106
- impl BundleTarget {
106
+ impl Default for BundleTarget {
107
107
fn default ( ) -> Self {
108
108
#[ cfg( any( target_os = "macos" , target_os = "ios" ) ) ]
109
109
return Self :: App ;
You can’t perform that action at this time.
0 commit comments