Changeset 5133 for lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/infoManager.py
- Timestamp:
- Jun 9, 2017, 2:57:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/infoManager.py
r4935 r5133 153 153 appInfo['video']=appInfo['video'].replace('watch?v=','embed/') 154 154 for bundle in app.get_bundles(): 155 print(bundle) 155 156 if bundle.get_kind()==0: 156 appInfo['installerUrl']=bundle.get_id() 157 print(bundle.get_kind()) 158 #F***g appstream returns unknown for all the possible types 159 if bundle.get_id().endswith('AppImage'): 160 appInfo['appImage']=bundle.get_id() 161 appInfo['description']='This is an appImage bundle. It comes from 3rd party providers and hasn\'t be tested by our devs. Please use it carefully\n'+app.get_description(localeItem) 162 else: 163 appInfo['installerUrl']=bundle.get_id() 164 if bundle.get_kind()==6: 165 appInfo['appImage']=bundle.get_id() 157 166 applistInfo.append(appInfo) 158 167 self._callback_progress() … … 182 191 'extraInfo':'',\ 183 192 'size':'',\ 193 'appImage':'',\ 184 194 } 185 195 return(appInfo)
Note: See TracChangeset
for help on using the changeset viewer.