dkinst 0.6.1__py3-none-any.whl → 0.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dkinst/__init__.py +1 -1
- dkinst/installers/helpers/infra/msis.py +5 -3
- dkinst/installers/helpers/modules/nodejs_installer.py +3 -6
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/METADATA +1 -1
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/RECORD +9 -9
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/WHEEL +0 -0
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/entry_points.txt +0 -0
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/licenses/LICENSE +0 -0
- {dkinst-0.6.1.dist-info → dkinst-0.6.2.dist-info}/top_level.txt +0 -0
dkinst/__init__.py
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
import subprocess
|
2
|
+
import platform
|
2
3
|
|
3
4
|
from rich.console import Console
|
4
5
|
|
5
|
-
|
6
|
-
from
|
7
|
-
from atomicshop
|
6
|
+
if platform.system().lower() == 'windows':
|
7
|
+
from . import permissions
|
8
|
+
from atomicshop import get_process_list
|
9
|
+
from atomicshop.wrappers.psutilw import processes
|
8
10
|
|
9
11
|
|
10
12
|
console = Console()
|
@@ -7,14 +7,14 @@ from rich.console import Console
|
|
7
7
|
|
8
8
|
from atomicshop.wrappers import githubw
|
9
9
|
|
10
|
-
from ..infra import system
|
10
|
+
from ..infra import permissions, msis, system
|
11
11
|
|
12
12
|
|
13
13
|
console = Console()
|
14
14
|
|
15
15
|
|
16
|
-
VERSION: str = "1.0.
|
17
|
-
"""
|
16
|
+
VERSION: str = "1.0.0"
|
17
|
+
"""Initial"""
|
18
18
|
|
19
19
|
|
20
20
|
# === WINDOWS FUNCTIONS ================================================================================================
|
@@ -171,9 +171,6 @@ def install_nodejs_win(
|
|
171
171
|
:return: int, 0 if successful, 1 if failed.
|
172
172
|
"""
|
173
173
|
|
174
|
-
from ..infra import permissions, msis
|
175
|
-
|
176
|
-
|
177
174
|
if not permissions.is_admin():
|
178
175
|
console.print("This script requires administrative privileges to install Node.js.", style="red")
|
179
176
|
return 1
|
@@ -1,4 +1,4 @@
|
|
1
|
-
dkinst/__init__.py,sha256=
|
1
|
+
dkinst/__init__.py,sha256=afvjmZLc_8jjchllv0CdTBVA4-kADdoTLc-CzdpRPsA,78
|
2
2
|
dkinst/cli.py,sha256=4jLmbW73FInE21i1FXhuhM6eymWhA4Pvicl34H62K_4,9278
|
3
3
|
dkinst/config.toml,sha256=OaTuImf9xBIbTNCrC2MfAzpPLeuDdV2R5feIfT7xImA,48
|
4
4
|
dkinst/installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -11,16 +11,16 @@ dkinst/installers/robocorp.py,sha256=yDBnA6sFjMSiOhwtyMRd59K-k6VC-42e5zVjeYZbmR4
|
|
11
11
|
dkinst/installers/tesseract_ocr.py,sha256=iEW6S9CxzGRrhzYW0A0FMwgb6SxKXOOfCdiI1EAG5W0,2532
|
12
12
|
dkinst/installers/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
dkinst/installers/helpers/infra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
-
dkinst/installers/helpers/infra/msis.py,sha256=
|
14
|
+
dkinst/installers/helpers/infra/msis.py,sha256=Ek7Ps-JyET638B2BJzkoP2ujKnl2LChRxOZMsDM4PqA,6109
|
15
15
|
dkinst/installers/helpers/infra/permissions.py,sha256=CYTDVOI0jh9ks0ZLnnOuPzppgCszFEc9-92DTkVTYi4,522
|
16
16
|
dkinst/installers/helpers/infra/system.py,sha256=CovoRRRz3TFEHKzHjuoSEJ2vrJGSbUETm3j5m-fjC2I,676
|
17
17
|
dkinst/installers/helpers/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
-
dkinst/installers/helpers/modules/nodejs_installer.py,sha256=
|
18
|
+
dkinst/installers/helpers/modules/nodejs_installer.py,sha256=iEWo-ftth6aVmEU9eclIv3swfNYqyd7OKGaW_ffOo6w,14961
|
19
19
|
dkinst/installers/helpers/modules/pycharm_installer.py,sha256=sRuRCvqFBoCxc9XDqb3E05x-M2LmFGV8c47FsXai8Xg,4914
|
20
20
|
dkinst/installers/helpers/modules/tesseract_ocr_manager.py,sha256=lJYVJDp5OTto4GHY1xkvJUkXCR1sgcOwj3UEUvfbPps,17369
|
21
|
-
dkinst-0.6.
|
22
|
-
dkinst-0.6.
|
23
|
-
dkinst-0.6.
|
24
|
-
dkinst-0.6.
|
25
|
-
dkinst-0.6.
|
26
|
-
dkinst-0.6.
|
21
|
+
dkinst-0.6.2.dist-info/licenses/LICENSE,sha256=ohlj1rmsTHdctr-wyqmP6kbFC6Sff8pJd29v3pruZ18,1088
|
22
|
+
dkinst-0.6.2.dist-info/METADATA,sha256=_0KStMij2htVf8fCwWZm56Ksubx13DFahme4d0SqJh4,2227
|
23
|
+
dkinst-0.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
24
|
+
dkinst-0.6.2.dist-info/entry_points.txt,sha256=YNgO3GufKMdA_oRqWEGAVh6k00oIuPItqqChoUtU278,43
|
25
|
+
dkinst-0.6.2.dist-info/top_level.txt,sha256=_dGNrME6z6Ihv2sxGC4hfAlnVuhoDlKwx-97LZ2xtQ0,7
|
26
|
+
dkinst-0.6.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|