mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Dart language text support
Currently Google Dart source files are not treated as text files, meaning they're uploaded using the currently selected file uploader. This fixes the issues.
This commit is contained in:
parent
603ca595c1
commit
6e26fc80c0
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ public static class Helpers
|
|||
public const string ValidURLCharacters = URLPathCharacters + ":?#[]@!$&'()*+,;= ";
|
||||
|
||||
public static readonly string[] ImageFileExtensions = new string[] { "jpg", "jpeg", "png", "gif", "bmp", "ico", "tif", "tiff" };
|
||||
public static readonly string[] TextFileExtensions = new string[] { "txt", "log", "nfo", "c", "cpp", "cc", "cxx", "h", "hpp", "hxx", "cs", "vb", "html", "htm", "xhtml", "xht", "xml", "css", "js", "php", "bat", "java", "lua", "py", "pl", "cfg", "ini" };
|
||||
public static readonly string[] TextFileExtensions = new string[] { "txt", "log", "nfo", "c", "cpp", "cc", "cxx", "h", "hpp", "hxx", "cs", "vb", "html", "htm", "xhtml", "xht", "xml", "css", "js", "php", "bat", "java", "lua", "py", "pl", "cfg", "ini", "dart" };
|
||||
|
||||
public static readonly Version OSVersion = Environment.OSVersion.Version;
|
||||
|
||||
|
@ -1129,4 +1129,4 @@ public static Cursor CreateCursor(byte[] data)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue