Skip to content

Commit

Permalink
0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
marvk committed Sep 12, 2021
1 parent 1a7f1be commit 29065b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/usage-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@

## Configuration Directories

###### Root Configuration Directory
##### Root Configuration Directory

%LOCALAPPDATA%\VATPrism

###### General Configuration
##### General Configuration

%LOCALAPPDATA%\VATPrism\Config.json

###### Color Schemes
##### Color Schemes

%LOCALAPPDATA%\VATPrism\ColorSchemes

###### Filters
##### Filters

%LOCALAPPDATA%\VATPrism\Filters

###### Logs
##### Logs

%LOCALAPPDATA%\VATPrism\Logs

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<properties>
<!--Defaults, should be passed as command line argument for real builds-->
<versionName>DEV</versionName>
<versionName>0.1.0</versionName>
<buildNumber>0</buildNumber>

<mainClass>net.marvk.fs.vatsim.map.Application</mainClass>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ public VersionResponse checkVersion(final UpdateChannel channel) throws Vatprism
final String body = latestVersion.get("body");
final boolean outdated = isOutdated(latestVersionName);

return VersionResponse.of(outdated, latestVersionName, latestVersionUrl, body);
return VersionResponse.of(outdated, latestVersionName, sanitize(latestVersionUrl), body);
}

private static String sanitize(final String latestVersionUrl) {
return "https://github.com/" + latestVersionUrl.replaceFirst("https://github\\.com/", "");
}

@Override
Expand Down

0 comments on commit 29065b4

Please sign in to comment.