Spaces:
Runtime error
Runtime error
Update src/lib/tw-filesystem-api.js
Browse files
src/lib/tw-filesystem-api.js
CHANGED
@@ -4,9 +4,9 @@ const showSaveFilePicker = fileName => window.showSaveFilePicker({
|
|
4 |
suggestedName: fileName,
|
5 |
types: [
|
6 |
{
|
7 |
-
description: '
|
8 |
accept: {
|
9 |
-
'application/x.scratch.sb3': '.
|
10 |
}
|
11 |
}
|
12 |
],
|
@@ -20,13 +20,13 @@ const showOpenFilePicker = async () => {
|
|
20 |
{
|
21 |
description: 'PenguinMod Project',
|
22 |
accept: {
|
23 |
-
'application/x.scratch.sb3': ['.pmp', '.pm']
|
24 |
}
|
25 |
},
|
26 |
{
|
27 |
description: 'Scratch Project',
|
28 |
accept: {
|
29 |
-
'application/x.scratch.sb3': ['.sb3', '.sb2', '.sb']
|
30 |
}
|
31 |
}
|
32 |
]
|
|
|
4 |
suggestedName: fileName,
|
5 |
types: [
|
6 |
{
|
7 |
+
description: 'Scratch for School Project',
|
8 |
accept: {
|
9 |
+
'application/x.scratch.sb3': '.s4s.txt'
|
10 |
}
|
11 |
}
|
12 |
],
|
|
|
20 |
{
|
21 |
description: 'PenguinMod Project',
|
22 |
accept: {
|
23 |
+
'application/x.scratch.sb3': ['.pmp', '.pm', 's4s.txt']
|
24 |
}
|
25 |
},
|
26 |
{
|
27 |
description: 'Scratch Project',
|
28 |
accept: {
|
29 |
+
'application/x.scratch.sb3': ['.sb3', '.sb2', '.sb', 's4s.txt']
|
30 |
}
|
31 |
}
|
32 |
]
|