Skip to content

Commit 6c840f9

Browse files
author
zhangbin
committed
Solve the error when run project on Tizen.
1 parent ca384a5 commit 6c840f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/plugin_deploy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ def deploy_tizen(self, dependencies):
190190
return
191191

192192
tizen_proj_path = self._platforms.project_path()
193-
self.tizen_packageid = self._xml_attr(tizen_proj_path, "tizen-manifest.xml", "manifest", "package")
193+
from xml.dom import minidom
194+
doc = minidom.parse(os.path.join(tizen_proj_path, "tizen-manifest.xml"))
195+
self.tizen_packageid = doc.getElementsByTagName("manifest")[0].getAttribute("package")
194196

195197
# uninstall old app
196198
tizen_studio_path = cocos.check_environment_variable("TIZEN_STUDIO_HOME")

0 commit comments

Comments
 (0)