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