File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ if [[ -z "$INSTALLDIR" ]]; then
5
5
fi
6
6
echo " INSTALLDIR: $INSTALLDIR "
7
7
8
- pde_path=` find ../../.. / -name pde.jar`
9
- core_path=` find ../../.. / -name arduino-core.jar`
10
- lib_path=` find ../../.. / -name commons-codec-1.7.jar`
8
+ pde_path=` find /Applications/Arduino.app / -name pde.jar`
9
+ core_path=` find /Applications/Arduino.app / -name arduino-core.jar`
10
+ lib_path=` find /Applications/Arduino.app / -name commons-codec-1.7.jar`
11
11
if [[ -z " $core_path " || -z " $pde_path " ]]; then
12
12
echo " Some java libraries have not been built yet (did you run ant build?)"
13
13
return 1
@@ -19,7 +19,7 @@ echo "lib_path: $lib_path"
19
19
set -e
20
20
21
21
mkdir -p bin
22
- javac -target 1.8 -cp " $pde_path :$core_path :$lib_path " \
22
+ javac -source 1.8 - target 1.8 -cp " $pde_path :$core_path :$lib_path " \
23
23
-d bin src/ESP32FS.java
24
24
25
25
pushd bin
Original file line number Diff line number Diff line change @@ -202,15 +202,13 @@ private void createAndUpload(){
202
202
String toolExtension = ".py" ;
203
203
if (PreferencesData .get ("runtime.os" ).contentEquals ("windows" )) {
204
204
toolExtension = ".exe" ;
205
- } else if (PreferencesData .get ("runtime.os" ).contentEquals ("macosx" )) {
206
- toolExtension = "" ;
207
205
}
208
206
209
207
String pythonCmd ;
210
208
if (PreferencesData .get ("runtime.os" ).contentEquals ("windows" ))
211
209
pythonCmd = "python.exe" ;
212
210
else
213
- pythonCmd = "python " ;
211
+ pythonCmd = "python3 " ;
214
212
215
213
String mkspiffsCmd ;
216
214
if (PreferencesData .get ("runtime.os" ).contentEquals ("windows" ))
You can’t perform that action at this time.
0 commit comments