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

Commit b40ff60

Browse files
committed
Remove unused CFBundleName dependency
1 parent d32fe2d commit b40ff60

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/util/plist/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ mod tests {
3232
<dict>
3333
<key>CFBundleIdentifier</key>
3434
<string>com.example.helloworld</string>
35-
<key>CFBundleName</key>
36-
<string>HelloWorld</string>
3735
<key>CFBundleShortVersionString</key>
3836
<string>1.0.14</string>
3937
<key>CFBundleVersion</key>
@@ -189,7 +187,6 @@ mod tests {
189187
let result = super::bundle_info_from_file(temp_file);
190188

191189
assert_eq!(result.id, "com.example.helloworld");
192-
assert!(result.name.starts_with("HelloWorld"));
193190
}
194191

195192
#[test]

src/util/plist/structs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use std::fmt;
88
pub(crate) struct BundleInfo {
99
#[serde(rename = "CFBundleIdentifier")]
1010
pub(crate) id: String,
11-
#[serde(rename = "CFBundleName")]
12-
pub(crate) name: String,
11+
// #[serde(rename = "CFBundleName")]
12+
// pub(crate) name: String,
1313
#[serde(rename = "CFBundleVersion")]
1414
pub(crate) version: String,
1515
#[serde(rename = "CFBundleShortVersionString")]

0 commit comments

Comments
 (0)