packageName = appInfo["packageName"]
desktop_file_path = args.host_user + \
- "/.local/share/applications/" + packageName + ".desktop"
+ "/.local/share/applications/waydroid." + packageName + ".desktop"
if not os.path.exists(desktop_file_path):
lines = ["[Desktop Entry]", "Type=Application"]
lines.append("Name=" + appInfo["name"])
platformService = IPlatform.get_service(args)
if platformService:
+ apps_dir = "/.local/share/applications"
+ if not os.path.exists(apps_dir):
+ os.mkdir(apps_dir)
+ os.chmod(apps_dir, 0o700)
appsList = platformService.getAppsInfo()
for app in appsList:
makeDesktopFile(app)