Skip to content

Commit 4ea926e

Browse files
committed
fix #20; update readme according to nexttrace development status
1 parent ccf2cce commit 4ea926e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ static void Main(string[] args)
1515
{
1616
UserSettings.LoadSettings();
1717

18-
if (UserSettings.language != "")
18+
if (UserSettings.language != "" && UserSettings.language != null)
1919
{
2020
System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo(UserSettings.language);
2121
}
22-
if(UserSettings.mapProvider == "")
22+
if(UserSettings.mapProvider == "" && UserSettings.mapProvider != null)
2323
{
2424
// 本地化地图供应商设置
2525
if (System.Threading.Thread.CurrentThread.CurrentUICulture.Name == "zh-CN")

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
OpenTrace is a cross-platform GUI wrapper for NextTrace. Bringing you a sense of familiarity.
1010

11-
You need a working NextTrace (>= 1.1.7) executable to use this.
11+
You need a working **NextTrace V1** (>= 1.1.7) executable to use this.
1212

1313
### Features
1414

@@ -28,7 +28,7 @@ More is coming...
2828

2929
- Download OpenTrace from [releases](https://github.com/Archeb/opentrace/releases) or build your own binary.
3030

31-
- Follow the instruction to install [NextTrace](https://github.com/nxtrace/Ntrace-V1/releases): Download the latest release from [here](https://github.com/nxtrace/Ntrace-V1/releases), and place it in either the same directory as the OpenTrace executable or a directory included in your system's PATH environment variable.
31+
- Follow the instruction to install [NextTrace V1](https://github.com/nxtrace/Ntrace-V1/releases): Download the latest release from [here](https://github.com/nxtrace/Ntrace-V1/releases), and place it in either the same directory as the OpenTrace executable or a directory included in your system's PATH environment variable.
3232

3333
- Run OpenTrace(.exe)
3434

0 commit comments

Comments
 (0)