File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/ReleaseTool/ReleaseTool Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,14 +156,14 @@ void AddToZip(string filePath, string entryName)
156
156
}
157
157
158
158
var assetDir = Path . Combine ( tlDir , "RedirectedResources\\ assets" ) ;
159
- if ( Directory . Exists ( assetDir ) && Directory . GetFiles ( assetDir , "translation.txt" , SearchOption . AllDirectories ) . Any ( ) )
159
+ if ( Directory . Exists ( assetDir ) && Directory . GetFiles ( assetDir , "translation* .txt" , SearchOption . AllDirectories ) . Any ( ) )
160
160
{
161
161
var assZipPath = GetTempFileName ( ) ;
162
162
using ( var assZipFile = ZipFile . Create ( assZipPath ) )
163
163
{
164
164
assZipFile . BeginUpdate ( new MemoryArchiveStorage ( FileUpdateMode . Direct ) ) ;
165
165
166
- foreach ( var file in Directory . GetFiles ( assetDir , "translation.txt" , SearchOption . AllDirectories ) )
166
+ foreach ( var file in Directory . GetFiles ( assetDir , "translation* .txt" , SearchOption . AllDirectories ) )
167
167
{
168
168
var entryName = CleanPath ( file . Substring ( assetDir . Length ) ) ;
169
169
//Console.WriteLine("Adding to redirected assets archive: " + entryName);
You can’t perform that action at this time.
0 commit comments