1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Cores manager:

added post install script support
absolute path symlinks are converted to relative to the local folder and a warning is printed
This commit is contained in:
Federico Fissore
2015-03-19 12:24:19 +01:00
parent 639824e516
commit fc4179f1f7
6 changed files with 265 additions and 1 deletions

View File

@ -38,6 +38,8 @@ import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
@ -354,4 +356,10 @@ public class Platform extends processing.app.Platform {
public void fixPrefsFilePermissions(File prefsFile) throws IOException {
//noop
}
public List<File> postInstallScripts(File folder) {
List<File> scripts = new LinkedList<File>();
scripts.add(new File(folder, "post_install.bat"));
return scripts;
}
}