Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
ghasemi committed Jul 4, 2023
1 parent 8fdf03b commit 919718a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target/
/music-player.sqlite
/harborz.sqlite
/cloc.md
2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "music-player"
name = "harborz"
version = "0.1.0"
edition = "2021"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use diesel_migrations::{embed_migrations, EmbeddedMigrations};

static CONNECTION: Lazy<Pool<ConnectionManager<SqliteConnection>>> = Lazy::new(|| {
Pool::builder().test_on_check_out(true)
.build(ConnectionManager::<SqliteConnection>::new("music-player.sqlite")).unwrap()
.build(ConnectionManager::<SqliteConnection>::new("harborz.sqlite")).unwrap()
});

pub fn get_connection() -> PooledConnection<ConnectionManager<SqliteConnection>> {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn main() -> Result<ExitCode> {
std_logger::Config::logfmt().init();
gstreamer::init()?;
get_connection().run_pending_migrations(MIGRATIONS)?;
let application = Application::builder().application_id("eu.agoor.music-player").build();
let application = Application::builder().application_id("com.github.harborz").build();
application.connect_activate(|application| {
let add_collection_box = add_collection_box();
let media_controls = media_controls();
Expand Down

0 comments on commit 919718a

Please sign in to comment.