mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-05 16:59:05 +00:00
Don't allow running in Dropbox or OneDrive, git doesn't like it
This commit is contained in:
parent
49f8899eb7
commit
ddfc15e371
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue