|
|
@ -209,7 +209,10 @@ class OSXDefaults(object):
|
|
|
|
|
|
|
|
|
|
|
|
# We need to convert some values so the defaults commandline understands it
|
|
|
|
# We need to convert some values so the defaults commandline understands it
|
|
|
|
if type(self.value) is bool:
|
|
|
|
if type(self.value) is bool:
|
|
|
|
value = "TRUE" if self.value else "FALSE"
|
|
|
|
if self.value:
|
|
|
|
|
|
|
|
value = "TRUE"
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
value = "FALSE"
|
|
|
|
elif type(self.value) is int or type(self.value) is float:
|
|
|
|
elif type(self.value) is int or type(self.value) is float:
|
|
|
|
value = str(self.value)
|
|
|
|
value = str(self.value)
|
|
|
|
elif self.array_add and self.current_value is not None:
|
|
|
|
elif self.array_add and self.current_value is not None:
|
|
|
|