@@ -109,9 +109,9 @@ def __init__(self):
109109 show = ''
110110 app = {
111111 'name' : 'SKipper app' ,
112- 'show' : show ,
112+ 'show' : '/usr/local/bin/skipper/SkipperApp' ,
113113 'edit' : '' ,
114- 'included' : 'yes ' ,
114+ 'included' : 'no ' ,
115115 'plugin' : '' ,
116116 'install' : self .platform .admin + ' python3 ' + self .currentdir + '/installskipper.py' ,
117117 'uninstall' : self .platform .admin + ' python3 ' + self .currentdir + '/uninstallskipper.py' ,
@@ -368,6 +368,11 @@ def OnRefreshButton(self, event=0):
368368 else :
369369 self .listApps .SetItem (item , 1 , _ ('not installed' ))
370370 self .listApps .SetItemBackgroundColour (item ,(200 ,200 ,200 ))
371+ elif i ['name' ] == 'SKipper app' :
372+ if os .path .isfile ('/etc/apt/sources.list.d/openrepo-skipperapp.list' ): self .listApps .SetItem (item , 1 , _ ('installed' ))
373+ else :
374+ self .listApps .SetItem (item , 1 , _ ('not installed' ))
375+ self .listApps .SetItemBackgroundColour (item ,(200 ,200 ,200 ))
371376 else :
372377 self .listApps .SetItem (item , 1 , _ ('not installed' ))
373378 self .listApps .SetItemBackgroundColour (item ,(200 ,200 ,200 ))
@@ -459,7 +464,12 @@ def OnShowButton(self, e):
459464 index = self .listApps .GetFirstSelected ()
460465 if index == - 1 : return
461466 apps = list (reversed (self .appsDict ))
462- webbrowser .open (apps [index ]['show' ], new = 2 )
467+ url = apps [index ]['show' ]
468+
469+ if url .startswith ("http" ):
470+ webbrowser .open (url , new = 2 )
471+ else :
472+ os .system (url )
463473
464474 ################################################################################
465475
0 commit comments