summary history branches tags files
commit:a935358ece74453770335512442bcd3aab70cedf
author:Logan Darklock
committer:Logan Darklock
date:Mon Jul 13 11:06:44 2020 -0700
parents:3bbbc53e0e3555c19b4f9c47090f1101d9ef5f02
Quote CFBundleName, CFBundleDisplayName, CFBundleExecutable
diff --git a/src/osx.rs b/src/osx.rs
line changes: +3/-3
index 867ef3b..dc4518c
--- a/src/osx.rs
+++ b/src/osx.rs
@@ -465,10 +465,10 @@ impl Trampoline {
 
             // 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)?;