@@ -41,6 +41,7 @@ public class Platform extends processing.app.Platform {
41
41
private File settingsFolder ;
42
42
private File defaultSketchbookFolder ;
43
43
44
+ @ Override
44
45
public void init () throws Exception {
45
46
super .init ();
46
47
@@ -108,15 +109,18 @@ protected void checkPath() {
108
109
}
109
110
}
110
111
112
+ @ Override
111
113
public File getSettingsFolder () {
112
114
return settingsFolder ;
113
115
}
114
116
115
117
118
+ @ Override
116
119
public File getDefaultSketchbookFolder () throws Exception {
117
120
return defaultSketchbookFolder ;
118
121
}
119
122
123
+ @ Override
120
124
public void openURL (String url ) throws Exception {
121
125
// this is not guaranteed to work, because who knows if the
122
126
// path will always be c:\progra~1 et al. also if the user has
@@ -148,11 +152,13 @@ public void openURL(String url) throws Exception {
148
152
}
149
153
150
154
155
+ @ Override
151
156
public boolean openFolderAvailable () {
152
157
return true ;
153
158
}
154
159
155
160
161
+ @ Override
156
162
public void openFolder (File file ) throws Exception {
157
163
String folder = file .getAbsolutePath ();
158
164
@@ -180,12 +186,14 @@ public void fixPrefsFilePermissions(File prefsFile) throws IOException {
180
186
//noop
181
187
}
182
188
189
+ @ Override
183
190
public List <File > postInstallScripts (File folder ) {
184
191
List <File > scripts = new LinkedList <>();
185
192
scripts .add (new File (folder , "post_install.bat" ));
186
193
return scripts ;
187
194
}
188
195
196
+ @ Override
189
197
public List <File > preUninstallScripts (File folder ) {
190
198
List <File > scripts = new LinkedList <>();
191
199
scripts .add (new File (folder , "pre_uninstall.bat" ));
@@ -195,9 +203,11 @@ public List<File> preUninstallScripts(File folder) {
195
203
public void symlink (File something , File somewhere ) throws IOException , InterruptedException {
196
204
}
197
205
206
+ @ Override
198
207
public void link (File something , File somewhere ) throws IOException , InterruptedException {
199
208
}
200
209
210
+ @ Override
201
211
public void chmod (File file , int mode ) throws IOException , InterruptedException {
202
212
}
203
213
0 commit comments