File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,9 +236,12 @@ def build_package(self):
236236 plist_fn = '{}-Info.plist' .format (app_name .lower ())
237237 plist_rfn = join (self .app_project_dir , plist_fn )
238238 version = self .buildozer .get_version ()
239+ title = self .buildozer .config .get ('app' , 'title' )
239240 self .logger .info ('Update Plist {}' .format (plist_fn ))
240241 plist = self .load_plist_from_file (plist_rfn )
242+ plist ['CFBundleDisplayName' ] = title
241243 plist ['CFBundleIdentifier' ] = self ._get_package ()
244+ plist ['CFBundleName' ] = title
242245 plist ['CFBundleShortVersionString' ] = version
243246 plist ['CFBundleVersion' ] = '{}.{}' .format (version ,
244247 self .buildozer .build_id )
Original file line number Diff line number Diff line change @@ -217,7 +217,9 @@ def test_build_package_no_signature(self):
217217 assert m_dump_plist_to_file .call_args_list == [
218218 mock .call (
219219 {
220+ "CFBundleDisplayName" : "My Application" ,
220221 "CFBundleIdentifier" : "org.test.myapp" ,
222+ "CFBundleName" : "My Application" ,
221223 "CFBundleShortVersionString" : "0.1" ,
222224 "CFBundleVersion" : "0.1.None" ,
223225 },
You can’t perform that action at this time.
0 commit comments