Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
System Monitoring Center
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
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Kayıtlar (commit)
Kenar çubuğunu aç
Hakan Dündar
System Monitoring Center
Commits
a730ac30
Kaydet (Commit)
a730ac30
authored
Nis 09, 2022
tarafından
Hakan Dündar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated version file and minor improvements
üst
45dbc758
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
Changes.md
Changes.md
+1
-1
MainGUI.py
src/MainGUI.py
+8
-3
__version__
src/__version__
+1
-1
No files found.
Changes.md
Dosyayı görüntüle @
a730ac30
# System Monitoring Center
### v1.10.
1
### v1.10.
2
*
Improved: Getting ARM CPU model names
*
Improved: Device vendor-model detection
*
Fix: Detect window manager of GNOME DE
...
...
src/MainGUI.py
Dosyayı görüntüle @
a730ac30
...
...
@@ -489,6 +489,9 @@ class MainGUI:
# This file is used for checking if symlinks are copied before.
file_to_check_if_generated
=
current_user_homedir
+
"/.local/share/applications/com.github.hakand34.system-monitoring-center.desktop"
# Get icon list.
icon_list
=
os
.
listdir
(
current_dir
+
"/../icons/hicolor/scalable/actions"
)
# Called for removing files.
def
remove_file
(
file
):
try
:
...
...
@@ -521,7 +524,8 @@ class MainGUI:
remove_file
(
current_user_homedir
+
"/.local/share/applications/com.github.hakand34.system-monitoring-center.desktop"
)
remove_file
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/apps/system-monitoring-center.svg"
)
for
file
in
os
.
listdir
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/actions"
):
remove_file
(
file
)
if
file
in
icon_list
:
remove_file
(
file
)
# Check if symlinks are not copied before.
if
os
.
path
.
isfile
(
file_to_check_if_generated
)
==
False
:
...
...
@@ -531,7 +535,8 @@ class MainGUI:
remove_file
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/apps/system-monitoring-center.svg"
)
try
:
for
file
in
os
.
listdir
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/actions"
):
remove_file
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/actions/"
+
file
)
if
file
in
icon_list
:
remove_file
(
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/actions/"
+
file
)
except
Exception
:
pass
...
...
@@ -544,7 +549,7 @@ class MainGUI:
generate_symlink
(
current_dir
+
"/../applications/com.github.hakand34.system-monitoring-center.desktop"
,
current_user_homedir
+
"/.local/share/applications/com.github.hakand34.system-monitoring-center.desktop"
)
generate_symlink
(
current_dir
+
"/../icons/hicolor/scalable/apps/system-monitoring-center.svg"
,
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/apps/system-monitoring-center.svg"
)
target_path
=
current_user_homedir
+
"/.local/share/icons/hicolor/scalable/actions"
for
file
in
os
.
listdir
(
current_dir
+
"/../icons/hicolor/scalable/actions"
)
:
for
file
in
icon_list
:
generate_symlink
(
current_dir
+
"/../icons/hicolor/scalable/actions/"
+
file
,
target_path
+
"/"
+
file
)
...
...
src/__version__
Dosyayı görüntüle @
a730ac30
1.10.
1
1.10.
2
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