Don't allow running in Dropbox or OneDrive, git doesn't like it

This commit is contained in:
md_5 2020-01-29 12:14:39 +11:00
parent 49f8899eb7
commit ddfc15e371

View file

@ -94,6 +94,12 @@ public class Builder
return;
}
if ( CWD.getAbsolutePath().contains( "Dropbox" ) || CWD.getAbsolutePath().contains( "OneDrive" ) )
{
System.err.println( "Please do not run BuildTools in a Dropbox, OneDrive, or similar. You can always copy the completed jars there later." );
return;
}
if ( false && System.console() == null )
{
JFrame jFrame = new JFrame();