Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
live-installer
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
live-installer
Commits
497001b5
Kaydet (Commit)
497001b5
authored
Şub 11, 2020
tarafından
Clement Lefebvre
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refactor installer and setup classes
üst
4a542b49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
gtk_interface.py
usr/lib/live-installer/frontend/gtk_interface.py
+5
-6
installer.py
usr/lib/live-installer/installer.py
+0
-0
No files found.
usr/lib/live-installer/frontend/gtk_interface.py
Dosyayı görüntüle @
497001b5
...
...
@@ -74,7 +74,7 @@ class InstallerWindow:
self
.
showing_last_dialog
=
False
# here comes the installer engine
self
.
installer
=
InstallerEngine
()
self
.
installer
=
InstallerEngine
(
self
.
setup
)
# load the window object
self
.
window
=
self
.
builder
.
get_object
(
"main_window"
)
...
...
@@ -1071,7 +1071,6 @@ class InstallerWindow:
def
do_install
(
self
):
print
" ## INSTALLATION "
''' Actually perform the installation .. '''
inst
=
self
.
installer
if
__debug__
:
print
" ## DEBUG MODE - INSTALLATION PROCESS NOT LAUNCHED"
...
...
@@ -1079,8 +1078,8 @@ class InstallerWindow:
Gtk
.
main_quit
()
sys
.
exit
(
0
)
inst
.
set_progress_hook
(
self
.
update_progress
)
inst
.
set_error_hook
(
self
.
error_message
)
self
.
installer
.
set_progress_hook
(
self
.
update_progress
)
self
.
installer
.
set_error_hook
(
self
.
error_message
)
# do we dare? ..
self
.
critical_error_happened
=
False
...
...
@@ -1089,7 +1088,7 @@ class InstallerWindow:
do_try_finish_install
=
True
try
:
inst
.
init_install
(
self
.
setup
)
self
.
installer
.
start_installation
(
)
except
Exception
,
detail1
:
print
detail1
do_try_finish_install
=
False
...
...
@@ -1107,7 +1106,7 @@ class InstallerWindow:
time
.
sleep
(
0.1
)
try
:
inst
.
finish_install
(
self
.
setup
)
self
.
installer
.
finish_installation
(
)
except
Exception
,
detail1
:
print
detail1
self
.
show_error_dialog
(
_
(
"Installation error"
),
str
(
detail1
))
...
...
usr/lib/live-installer/installer.py
Dosyayı görüntüle @
497001b5
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment