Skip to content

Commit 9511e59

Browse files
author
Kirill
committed
Removed make check for windows machines
1 parent ac2d478 commit 9511e59

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

updater.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from src.Utilities.installer import make_action
1616
from src.Utilities.installer import check_make_status
1717

18-
UPDATER_VER = "0.3"
18+
UPDATER_VER = "1.0"
1919

2020
OS_TYPE = check_os()
2121
USER_FOLDER = path.expanduser("~")
@@ -27,9 +27,10 @@
2727
VIM_REPO = "https://github.com/vim/vim.git"
2828

2929
if OS_TYPE == "win":
30-
pass
31-
else:
32-
isMakeInstalled = check_make_status()
30+
print("Windows don't fully supported yet")
31+
print("Please download vim here: {}".format(VIM_DOWNLOAD_PAGE))
32+
openBrowser(GIT_DOWNLOAD_PAGE)
33+
sys_exit(0)
3334

3435
try:
3536
GIT_STATUS = check_git_on_device()
@@ -43,13 +44,7 @@
4344
openBrowser(GIT_DOWNLOAD_PAGE)
4445
sys_exit(0)
4546

46-
if OS_TYPE == "win":
47-
print("Windows don't support yet")
48-
print("Please download vim here: {}".format(VIM_DOWNLOAD_PAGE))
49-
openBrowser(VIM_DOWNLOAD_PAGE)
50-
sys_exit(0)
51-
52-
47+
isMakeInstalled = check_make_status()
5348
if not isMakeInstalled and OS_TYPE == "mac":
5449
print("""
5550
make not found in system

0 commit comments

Comments
 (0)