Skip to content

Commit

Permalink
Fix problem regarding using a custom named options file (#119)
Browse files Browse the repository at this point in the history
* Add VSCODE artifacts to .gitignore

* Fix version in Version.java

* Fix command-line options bug
  • Loading branch information
sJJdGG authored and devgianlu committed Jul 25, 2019
1 parent a43c0a7 commit a41c6c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ out/
target/
*iml
config.toml
/cache/
/cache/
.settings/
.project
.DS_Store
bin/
.classpath
.vscode/
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public FileConfiguration(@Nullable String[] override) throws IOException {
if (override != null) {
for (String arg : override) {
if (arg != null && arg.startsWith("--conf-file="))
confFile = new File(arg.substring(13));
confFile = new File(arg.substring(12));
}
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/xyz/gianlu/librespot/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Gianlu
*/
public class Version {
public static final String VERSION = "0.5.1";
public static final String VERSION = "0.6.1";

@NotNull
public static String versionString() {
Expand Down

0 comments on commit a41c6c6

Please sign in to comment.