Skip to content

Commit

Permalink
update to 5.0.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dh-04 committed Dec 7, 2020
1 parent e3be54a commit 0638083
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platformio_support_package.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
yaml_version: 1
pkg_version: 5.0.3.7
pkg_version: 5.0.3.9
pkg_vendor: RealThread
pkg_type: ThirdParty_Support_Packages
name: PlatformIO
Expand Down
2 changes: 2 additions & 0 deletions post_install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
rem: Note %~dp0 get path of this batch file
set current_dir=%~dp0
set current_drive=%~d0
cd /d %current_dir%
echo The platformIO installation process is being executed, it may take more than 10 minutes, please be patient...
%current_dir%python377x64/python.exe %current_dir%script.py %*

2 changes: 1 addition & 1 deletion script.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def make_platformio(self):
is_studio_global_version = False
print("rt_studio_version: " + str(rt_studio_version))
if rt_studio_version >= "2.0.0":
if platform.release() >= "10":
if int(platform.release()) >= int("10"):
result = os.popen(
"""reg query HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem /v LongPathsEnabled""")
if "1" in result.read().strip().split(" ")[-1]:
Expand Down

0 comments on commit 0638083

Please sign in to comment.