2
0

Store preferences in user file using mpw data API.

This commit is contained in:
Maarten Billemont 2019-07-28 17:44:56 -04:00
parent eb1e23311e
commit b460e27696
2 changed files with 27 additions and 1 deletions

View File

@ -65,6 +65,32 @@
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
<CommandLineArguments>
<CommandLineArgument
argument = "-u"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "&quot;Robert Lee Mitchell&quot;"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-M"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "&quot;banana duckling&quot;"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "apple.com"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
<LocationScenarioReference
identifier = "com.apple.dt.IDEFoundation.CurrentLocationScenarioIdentifier"
referenceType = "1">
</LocationScenarioReference>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"

View File

@ -676,7 +676,7 @@ PearlAssociatedObjectProperty( NSNumber*, StoreCorrupted, storeCorrupted );
return nil;
}
@finally {
mpw_marshal_free( &importUser );
mpw_marshal_file_free( &importUser );
}
}