From 5ad266d099ab976bca9e914014f186ae09402d06 Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 9 Oct 2016 04:39:18 +0300 Subject: [PATCH] miliskur.py-guncelleme --- bin/miliskur-test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/miliskur-test.py b/bin/miliskur-test.py index 7e3a3678c..19e562625 100644 --- a/bin/miliskur-test.py +++ b/bin/miliskur-test.py @@ -17,6 +17,10 @@ def runShellCommand(c): out = subprocess.check_output(c,stderr=subprocess.STDOUT,shell=True,universal_newlines=True) return out.replace("\b","") #encode byte format to string, ugly hack +def gerekliKur(): + os.system("pip_kur && pip3 install pythondialog") + os.system("mps -kur advcp") + def greetingDialog(): status = d.yesno(title="Milis Linux'a hoş geldiniz !", text="Tanıtım yazısı buraya gelecek...\n\n\n\nKuruluma devam etmek istiyor musunuz ?",width=70,height=10) @@ -155,4 +159,5 @@ def setSwap(part): if __name__ == "__main__": + gerekliKur() greetingDialog()