File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public static async Task RunAsync(string repoRoot)
36
36
// Output will differ across different Java runtimes.
37
37
// Output has historically been produced by:
38
38
// C:\\Program Files\\Java\\jdk1.8.0_271\\bin\\java.exe
39
- FileName = """C:\Program Files\Java\jdk-18.0.2.1\bin\ java.exe"" " ,
39
+ FileName = "java.exe" ,
40
40
Arguments = string . Join (
41
41
" " ,
42
42
"-classpath" , $ "\" { xmpCoreLibraryPath } \" ;{ javaSrcRoot } ",
Original file line number Diff line number Diff line change 3
3
using MetadataExtractor . MediaLibraryProcessor ;
4
4
5
5
using System ;
6
+ using System . Globalization ;
6
7
using System . IO ;
8
+ using System . Threading ;
7
9
8
10
// TODO support building libraries from source too
9
11
10
12
// TODO more robust way of finding repo root path
11
13
string repoRoot = Path . GetFullPath ( Path . Combine ( Environment . CurrentDirectory , """..\..\..\..\..\..""" ) ) ;
12
14
15
+ var culture = CultureInfo . GetCultureInfo ( "en-US" ) ;
16
+ Thread . CurrentThread . CurrentCulture = culture ;
17
+ Thread . CurrentThread . CurrentUICulture = culture ;
18
+
13
19
// Update .NET and Java metadata files
14
20
await Console . Out . WriteLineAsync ( "Updating metadata files..." ) ;
15
21
26
32
await DiffRunner . RunAsync ( repoRoot ) ;
27
33
28
34
await Console . Out . WriteLineAsync ( "Done." ) ;
35
+
You can’t perform that action at this time.
0 commit comments