We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd686a6 + e411f5a commit 41de596Copy full SHA for 41de596
README.md
@@ -35,7 +35,9 @@
35
* **初始化**
36
```csharp
37
//WPF
38
- string path = System.IO.Path.Combine(Environment.CurrentDirectory, "Languages");
+ //怀疑用Environment.CurrentDirectory开机启动时目录会出错,待验证
39
+ string appDir = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
40
+ string path = Path.Combine(appDir, "Res\\Languages");
41
LanService.Init(new JsonDB(path), true);
42
43
//UWP
0 commit comments