From 01778531c625e7ca97168941d94cbf0a4f0932c5 Mon Sep 17 00:00:00 2001 From: Vinayak Agarwal Date: Mon, 17 Oct 2016 11:28:34 +0530 Subject: [PATCH] Remove headers from autogenerated file --- TShockAPI/Resources.Designer.cs | 18 ------------------ gpltext.py | 3 +++ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/TShockAPI/Resources.Designer.cs b/TShockAPI/Resources.Designer.cs index 026e79d8..49c1d908 100644 --- a/TShockAPI/Resources.Designer.cs +++ b/TShockAPI/Resources.Designer.cs @@ -1,21 +1,3 @@ -/* -TShock, a server mod for Terraria -Copyright (C) 2011-2016 Nyx Studios (fka. The TShock Team) - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - //------------------------------------------------------------------------------ // // This code was generated by a tool. diff --git a/gpltext.py b/gpltext.py index 63cc024c..a9b54caf 100644 --- a/gpltext.py +++ b/gpltext.py @@ -77,7 +77,10 @@ def getFiles(path): else: for ext in extensions: if f.endswith(ext): + if f.endswith('.Designer.cs'): + break print (path + f) changeText(path + f) + break getFiles(path) \ No newline at end of file