Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
Remove unused CFBundleName dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvartan committed Mar 10, 2021
1 parent d32fe2d commit b40ff60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/util/plist/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ mod tests {
<dict>
<key>CFBundleIdentifier</key>
<string>com.example.helloworld</string>
<key>CFBundleName</key>
<string>HelloWorld</string>
<key>CFBundleShortVersionString</key>
<string>1.0.14</string>
<key>CFBundleVersion</key>
Expand Down Expand Up @@ -189,7 +187,6 @@ mod tests {
let result = super::bundle_info_from_file(temp_file);

assert_eq!(result.id, "com.example.helloworld");
assert!(result.name.starts_with("HelloWorld"));
}

#[test]
Expand Down
4 changes: 2 additions & 2 deletions src/util/plist/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ use std::fmt;
pub(crate) struct BundleInfo {
#[serde(rename = "CFBundleIdentifier")]
pub(crate) id: String,
#[serde(rename = "CFBundleName")]
pub(crate) name: String,
// #[serde(rename = "CFBundleName")]
// pub(crate) name: String,
#[serde(rename = "CFBundleVersion")]
pub(crate) version: String,
#[serde(rename = "CFBundleShortVersionString")]
Expand Down

0 comments on commit b40ff60

Please sign in to comment.