- Timestamp:
- Aug 8, 2017, 1:26:53 PM (3 years ago)
- Location:
- lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/infoManager.py
r5591 r5674 64 64 if app.get_id(): 65 65 appInfo['id']=app.get_id() 66 if not appInfo['id'].endswith('desktop'): 67 appInfo['id']+='.desktop' 66 68 for localeItem in self.locale: 67 69 if app.get_name(localeItem): -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/zmdManager.py
r5133 r5674 204 204 # self.result['data'].append(appInfo) 205 205 # self.result.append(appInfo) 206 if appInfo['state']!='installed': 207 #There're some zomandos that may be unregistered, so we check again 208 zmdApp='/usr/share/zero-center/applications/'+zmd+".app" 209 print("*******************") 210 print(zmdApp) 211 print("*******************") 212 if os.path.isfile(zmdApp): 213 f=open(zmdApp,'r') 214 fileContent=f.readlines() 215 f.close 216 sw_service=False 217 for line in fileContent: 218 if line.startswith('Service'): 219 sw_service=True 220 if 'True' not in line: 221 print(line) 222 appInfo['state']='installed' 223 if sw_service==False: 224 appInfo['state']='installed' 225 206 226 return(appInfo) 207 227 #def _get_Zmd_Info
Note: See TracChangeset
for help on using the changeset viewer.