Skip to content

Commit 7254d20

Browse files
authored
Merge pull request DCC-EX#181 from DCC-EX/180-bug-report-cannot-clone-repositories
180 bug report cannot clone repositories
2 parents e8e0fcf + 9d4d599 commit 7254d20

File tree

6 files changed

+3
-6
lines changed

6 files changed

+3
-6
lines changed

dist/EX-Installer-Linux64

-72 Bytes
Binary file not shown.

dist/EX-Installer-Win32.exe

-71 Bytes
Binary file not shown.

dist/EX-Installer-Win64.exe

85.6 KB
Binary file not shown.

dist/EX-Installer-macOS

-1.63 KB
Binary file not shown.

ex_installer/file_manager.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ def get_base_dir():
174174
os.path.expanduser("~"),
175175
"ex-installer",
176176
)
177-
if sys.platform.startswith("win"):
178-
_cli_path = _cli_path.replace("\\", "\\\\")
179177
FileManager.log.debug(_cli_path)
180178
return _cli_path
181179
else:
@@ -189,9 +187,7 @@ def get_install_dir(product_name):
189187
Returns the path to extract software into
190188
"""
191189
if FileManager.get_base_dir():
192-
dir = os.path.join(FileManager.get_base_dir().replace("\\\\", "\\"), product_name)
193-
if sys.platform.startswith("win"):
194-
dir = dir.replace("\\", "\\\\")
190+
dir = os.path.join(FileManager.get_base_dir(), product_name)
195191
FileManager.log.debug(dir)
196192
return dir
197193
else:

ex_installer/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
read by the application build process to embed in the application details
88
"""
99

10-
ex_installer_version = "0.0.19"
10+
ex_installer_version = "0.0.20"
1111

1212
"""
1313
Version history:
1414
15+
0.0.20 - Fix bug with Windows file system path preventing cloning repositories
1516
0.0.19 - NOTE: Support for Windows 32bit is deprecated in this release
1617
- Building STM32 platforms on Windows 32bit is no longer possible
1718
- Numerous Python module updates to resolve security issues and a GUI bug on macOS

0 commit comments

Comments
 (0)