Merge pull request #18 from LoganDark/plist-quotes
Quote CFBundleName, CFBundleDisplayName, CFBundleExecutable
// Mandatory fields
write!(&mut f, "{{\n")?;
- write!(&mut f, " CFBundleName = {};\n", self.name)?;
- write!(&mut f, " CFBundleDisplayName = {};\n", self.name)?;
+ write!(&mut f, " CFBundleName = \"{}\";\n", self.name)?;
+ write!(&mut f, " CFBundleDisplayName = \"{}\";\n", self.name)?;
write!(&mut f, " CFBundleIdentifier = \"{}\";\n", self.ident)?;
- write!(&mut f, " CFBundleExecutable = {};\n", self.exe)?;
+ write!(&mut f, " CFBundleExecutable = \"{}\";\n", self.exe)?;
write!(&mut f, " CFBundleIconFile = \"{}\";\n", self.icon)?;
write!(&mut f, " CFBundleVersion = \"{}\";\n", self.version)?;