mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
submodule init and update
This commit is contained in:
parent
fc099786fe
commit
f9a74d6579
@ -145,6 +145,8 @@ class MainScreen(Widget):
|
|||||||
_Closed = False
|
_Closed = False
|
||||||
_CounterScreen = None
|
_CounterScreen = None
|
||||||
|
|
||||||
|
_LastKey = -1
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._Pages = []
|
self._Pages = []
|
||||||
self._MyPageStack = PageStack()
|
self._MyPageStack = PageStack()
|
||||||
@ -636,7 +638,8 @@ class MainScreen(Widget):
|
|||||||
if callable( current_page_key_down_cb ):
|
if callable( current_page_key_down_cb ):
|
||||||
self._CurrentPage.KeyDown(event)
|
self._CurrentPage.KeyDown(event)
|
||||||
|
|
||||||
|
self._LastKey = event.key
|
||||||
|
|
||||||
def DrawRun(self):
|
def DrawRun(self):
|
||||||
self._MsgBox.SetText(MyLangManager.Tr("Launching"))
|
self._MsgBox.SetText(MyLangManager.Tr("Launching"))
|
||||||
self._MsgBox.Draw()
|
self._MsgBox.Draw()
|
||||||
|
|||||||
@ -603,7 +603,6 @@ class Page(Widget):
|
|||||||
if cur_li._PosY +cur_li._Height > self._Height:
|
if cur_li._PosY +cur_li._Height > self._Height:
|
||||||
for i in range(0,len(self._MyList)):
|
for i in range(0,len(self._MyList)):
|
||||||
self._MyList[i]._PosY -= self._MyList[i]._Height*dy
|
self._MyList[i]._PosY -= self._MyList[i]._Height*dy
|
||||||
|
|
||||||
|
|
||||||
def KeyDown(self,event):##default keydown,every inherited page class should have it's own KeyDown
|
def KeyDown(self,event):##default keydown,every inherited page class should have it's own KeyDown
|
||||||
if event.key == CurKeys["A"]:
|
if event.key == CurKeys["A"]:
|
||||||
|
|||||||
@ -4,6 +4,8 @@ cd /home/cpi/launcher
|
|||||||
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/updating.png
|
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/updating.png
|
||||||
git pull
|
git pull
|
||||||
git reset --hard $1
|
git reset --hard $1
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png
|
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png
|
||||||
./load.sh
|
./load.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user