Skip to content

Commit

Permalink
chore: add MPD-2.0 license
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Jun 2, 2022
1 parent 3a8c65f commit e82ca5b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/de_launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ fn main() {
let path = PathBuf::from(path);
let input = fs::read_to_string(&path).expect("Failed to read file");
let de = DesktopEntry::decode(path.as_path(), &input).expect("Error decoding desktop entry");
de.launch(&[], false)
.expect("Failed to run desktop entry");
de.launch(&[], false).expect("Failed to run desktop entry");
}
3 changes: 3 additions & 0 deletions src/exec/dbus.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021 System76 <[email protected]>
// SPDX-License-Identifier: MPL-2.0

use crate::exec::error::ExecError;
use crate::exec::graphics::Gpus;
use crate::DesktopEntry;
Expand Down
3 changes: 3 additions & 0 deletions src/exec/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021 System76 <[email protected]>
// SPDX-License-Identifier: MPL-2.0

use std::env::VarError;
use std::io;
use std::path::Path;
Expand Down
4 changes: 2 additions & 2 deletions src/exec/graphics.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2022 System76 <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
// Copyright 2021 System76 <[email protected]>
// SPDX-License-Identifier: MPL-2.0

use std::collections::HashSet;
use std::hash::{Hash, Hasher};
Expand Down
3 changes: 3 additions & 0 deletions src/exec/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021 System76 <[email protected]>
// SPDX-License-Identifier: MPL-2.0

use crate::exec::error::ExecError;
use crate::exec::graphics::Gpus;
use crate::DesktopEntry;
Expand Down

0 comments on commit e82ca5b

Please sign in to comment.