diff --git a/Cargo.toml b/Cargo.toml index 3f3d82d..2ccd959 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ytdlp-gui" -version = "0.2.3" +version = "0.2.4" edition = "2021" description = "a GUI for yt-dlp written in Rust" license = "GPL-3.0" diff --git a/aur/PKGBUILD b/aur/PKGBUILD index 4eaf86d..46b94d7 100644 --- a/aur/PKGBUILD +++ b/aur/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ytdlp-gui _pkgname=ytdlp-gui -pkgver=0.2.3 +pkgver=0.2.4 pkgrel=1 pkgdesc="a GUI for yt-dlp written in Rust" url="https://github.com/BKSalman" @@ -15,7 +15,7 @@ provides=("ytdlp-gui") conflicts=("ytdlp-gui") source=("${url}/ytdlp-gui/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=("4de0ca30da2bb4b8114ee2e29f2e2c94b2d965c2a66b77ab813300ff5c587908") +sha256sums=("e97d2c771f115d8b1b4307183cdb0c77d051a8f8e3f0abf2207ca6a67ee00358") build() { cd "$_pkgname-${pkgver}" diff --git a/src/media_options.rs b/src/media_options.rs index 0acabcf..11bc0d5 100644 --- a/src/media_options.rs +++ b/src/media_options.rs @@ -272,9 +272,9 @@ pub fn playlist_options(is_playlist: bool, download_folder: Option) -> args.push( download_folder .clone() - .expect("No Videos Directory") + .unwrap_or("~/Videos".into()) .to_str() - .expect("No Videos Directory") + .expect("download folder as str") .to_string(), ); args.push(String::from("-o"));