soiz1 commited on
Commit
8501cb2
·
verified ·
1 Parent(s): 660c761

Update src/lib/tw-filesystem-api.js

Browse files
Files changed (1) hide show
  1. src/lib/tw-filesystem-api.js +3 -3
src/lib/tw-filesystem-api.js CHANGED
@@ -6,7 +6,7 @@ const showSaveFilePicker = fileName => window.showSaveFilePicker({
6
  {
7
  description: 'PenguinMod Project',
8
  accept: {
9
- 'application/x.scratch.sb3': '.pmp'
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
  ]
 
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
  ]