Переглянути джерело

Update to use ranks.db instead of maps.db

Wolf Clement 2 роки тому
батько
коміт
35a9d3d026
2 змінених файлів з 3 додано та 3 видалено
  1. 2 2
      README.md
  2. 1 1
      src/main.rs

+ 2 - 2
README.md

@@ -1,6 +1,6 @@
-# maps.db generator
+# ranks.db initializer
 
-This tool is used to generate a `maps.db` file for [osu! ranked lobbies](https://github.com/kiwec/osu-ranked-lobbies).
+This tool initializes the "maps" table of an [osu! ranked lobbies](https://github.com/kiwec/osu-ranked-lobbies) database.
 
 You should have ~117k beatmaps in osu! before running this. There are torrents available to get you started if you don't have them yet.
 

+ 1 - 1
src/main.rs

@@ -10,7 +10,7 @@ fn main() {
     let game_directory = Path::new(&args[1]);
     let songs_directory = game_directory.join("Songs");
 
-    let connection = sqlite::open("maps.db").unwrap();
+    let connection = sqlite::open("ranks.db").unwrap();
     connection.execute(
         "CREATE TABLE map (
             id INTEGER PRIMARY KEY,