File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ def check_envs():
40
40
_download_extract_zip (url , base_dir )
41
41
print ("..install complete." )
42
42
43
+ if platform .system () == "Linux" :
44
+ import stat
43
45
44
- if __name__ == "__main__" :
45
- check_envs ()
46
+ for name in base_dir .rglob ("*.exe" ):
47
+ st = os .stat (name )
48
+ os .chmod (name , st .st_mode | stat .S_IEXEC )
Original file line number Diff line number Diff line change @@ -24,14 +24,15 @@ At least in ArchLinux is necessary to fix Roselyn path:
24
24
Use msbuild to build the solution in release:
25
25
26
26
``` bash
27
+ nuget restore RLEnvs_Linux.sln
27
28
msbuild RLEnvs_Linux.sln /t:Build /p:Configuration=Release
28
- chmod +x Launchers/Linux/bin/x86/Release/* .exe
29
29
```
30
30
31
31
Then copy the contents of ` [REPO]/wave/lunar_lander/Launchers/Linux/bin/x86/Release ` to ` [REPO]/arlie/arlie/envs/lunar_lander/LunarLander `
32
32
33
33
``` bash
34
34
cd ../..
35
+ mkdir -p ./arlie/arlie/envs/lunar_lander/LunarLander
35
36
rm -r ./arlie/arlie/envs/lunar_lander/LunarLander/*
36
37
cp -r ./wave/lunar_lander/Launchers/Linux/bin/x86/Release/* ./arlie/arlie/envs/lunar_lander/LunarLander
37
38
```
You can’t perform that action at this time.
0 commit comments