aboutsummaryrefslogtreecommitdiff
path: root/client-native-gui
diff options
context:
space:
mode:
Diffstat (limited to 'client-native-gui')
-rw-r--r--client-native-gui/Cargo.toml12
-rw-r--r--client-native-gui/src/chat.rs5
-rw-r--r--client-native-gui/src/main.rs9
3 files changed, 18 insertions, 8 deletions
diff --git a/client-native-gui/Cargo.toml b/client-native-gui/Cargo.toml
index 8ce3445..f41859c 100644
--- a/client-native-gui/Cargo.toml
+++ b/client-native-gui/Cargo.toml
@@ -6,16 +6,16 @@ edition = "2021"
[dependencies]
client-native-lib = { path = "../client-native-lib" }
-clap = { version = "4.0.29", features = ["derive"] }
+clap = { version = "4.1.1", features = ["derive"] }
async-std = "1.12.0"
-tokio = { version = "1.21.2", features = ["full"] }
-env_logger = "0.8"
+tokio = { version = "1.24.1", features = ["full"] }
+env_logger = "0.10.0"
log = "0.4"
-anyhow = "1.0.66"
+anyhow = "1.0.68"
crossbeam-channel = "0.5.6"
-egui = "0.19.0"
-eframe = "0.19.0"
+egui = "0.20.1"
+eframe = "0.20.1"
libmpv = { git = "https://github.com/sirno/libmpv-rs.git", branch = "upgrade-libmpv" }
diff --git a/client-native-gui/src/chat.rs b/client-native-gui/src/chat.rs
index dc4c2bc..c1f7868 100644
--- a/client-native-gui/src/chat.rs
+++ b/client-native-gui/src/chat.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2022 metamuffin <metamuffin@disroot.org>
+*/
use crate::GuiPeer;
use async_std::task::block_on;
use client_native_lib::{
diff --git a/client-native-gui/src/main.rs b/client-native-gui/src/main.rs
index 11290ee..83de3a0 100644
--- a/client-native-gui/src/main.rs
+++ b/client-native-gui/src/main.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2022 metamuffin <metamuffin@disroot.org>
+*/
#![feature(box_syntax)]
pub mod chat;
@@ -38,7 +43,7 @@ use tokio::task::JoinHandle;
/// A graphical interface to keks-meet conferences
struct Args {
#[arg(short = 'R', long, default_value = "")]
- default_room_name: String,
+ default_room_secret: String,
#[arg(short = 'U', long, default_value = "alice")]
default_username: String,
}
@@ -108,7 +113,7 @@ enum GuiResourceState {
impl App {
pub fn new(args: Args) -> Self {
- Self::Prejoin(args.default_room_name, args.default_username)
+ Self::Prejoin(args.default_room_secret, args.default_username)
}
}