Commit d3c737b
committed
Register .wdl as text MIME type for RStudio (PHP-130724)
RStudio misidentifies .wdl files containing 'import' statements as
binary/JavaScript, preventing users from opening them. Fix by
registering .wdl as text/x-wdl via the freedesktop shared-mime-info
system during post-startup, so extension-based MIME resolution takes
priority over content-based detection.
Only runs when rstudio-server is present, so non-RStudio apps are
unaffected.1 parent a0f3015 commit d3c737b
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
221 | 244 | | |
222 | 245 | | |
223 | 246 | | |
| |||
0 commit comments