mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
prevent DCE
This commit is contained in:
parent
b9304bbeca
commit
c28ce60738
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ using StringTools;
|
|||
/**
|
||||
* Utilities for reading and writing files on various platforms.
|
||||
*/
|
||||
class FileUtil
|
||||
@:keep class FileUtil
|
||||
{
|
||||
public static final FILE_FILTER_FNFC:FileFilter = new FileFilter("Friday Night Funkin' Chart (.fnfc)", "*.fnfc");
|
||||
public static final FILE_FILTER_JSON:FileFilter = new FileFilter("JSON Data File (.json)", "*.json");
|
||||
|
@ -962,7 +962,7 @@ class FileUtil
|
|||
* Utilities for reading and writing files on various platforms.
|
||||
* Wrapper for `FileUtil` that sanitizes paths for script safety.
|
||||
*/
|
||||
class FileUtilSandboxed
|
||||
@:keep class FileUtilSandboxed
|
||||
{
|
||||
/**
|
||||
* Prevent paths from exiting the root.
|
||||
|
|
Loading…
Reference in a new issue