diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 395bb87..5b5150c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -181,17 +181,19 @@ jobs: - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: - tag_name: ${{ github.ref_name != 'main' && github.ref_name || 'v0.2.0' }} - name: "Scythe ${{ github.ref_name != 'main' && github.ref_name || 'v0.2.0' }}" + tag_name: ${{ github.ref_name != 'main' && github.ref_name || 'v0.2.1' }} + name: "Scythe ${{ github.ref_name != 'main' && github.ref_name || 'v0.2.1' }}" body: | High-performance GPU hardware screen recorder and instant replay overlay for Linux and Windows. - ### What's New in v0.2.0 + ### What's New in v0.2.1 + - **Windows Setup Installer (`scythe-setup.exe`)**: Fixed DXGI adapter initialization and DirectX 11 hardware capture pipeline on Windows. Full Windows NSIS installer with desktop/start menu integration. + - **System Autostart Options**: Toggle automatic startup on system login for both the overlay HUD and background replay buffer. + - **Clean Sequential Trimmer Exports**: Cleaned export naming to `clip_trimmed.mp4`, `clip_trimmed_1.mp4` avoiding repetitive suffixes. + - **Settings UI Organization**: Dedicated grouped sections for System & Startup, Storage & File Naming with real-time pattern preview, and hotkey defaults reset. - **Auto-Update System**: Integrated background release checker with voluntary update notifications in the HUD and dedicated settings manager. - - **Standardized Datetime Filenames**: Clips and replays now save with clear human-readable timestamps (`Replay-HH-MM-SS-DD-MM-YYYY.mp4` / `Recording-HH-MM-SS-DD-MM-YYYY.mp4`). + - **Standardized Datetime Filenames**: Clips and replays now save with clear human-readable timestamps (`Replay-HH-MM-SS_DD-MM-YYYY.mp4` / `Recording-HH-MM-SS_DD-MM-YYYY.mp4`). - **NVIDIA ShadowPlay Toast Overlay**: Sleek, non-intrusive floating toast notifications in the top-right corner for Replay Saved, Recording Started/Stopped, and Mouse Cursor toggle. - - **Obsidian Dark UI Refinement**: Pure pitch-black obsidian theme with smooth accent borders, squared geometry, and zero focus-stealing. - - **Interactive Keybind & Settings Manager**: Real-time hotkey listener, custom FPS input, replay buffer duration, and bitrate adjustment. ### Packages - Windows: `scythe-setup.exe` (Official installer with Start Menu & Desktop shortcuts) diff --git a/Cargo.lock b/Cargo.lock index 4078642..0ea3d8d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3700,7 +3700,7 @@ dependencies = [ [[package]] name = "scythe" -version = "0.2.0" +version = "0.2.1" dependencies = [ "ashpd", "cpal", diff --git a/Cargo.toml b/Cargo.toml index 29b8f31..66589b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scythe" -version = "0.2.0" +version = "0.2.1" edition = "2024" [[bin]] diff --git a/src/capture/audio.rs b/src/capture/audio.rs index 806e8fa..ac5b2e9 100644 --- a/src/capture/audio.rs +++ b/src/capture/audio.rs @@ -107,6 +107,7 @@ pub fn list_input_devices() -> Vec { } pub fn list_application_audio() -> Vec { + #[allow(unused_mut)] let mut apps = Vec::new(); #[cfg(unix)] { diff --git a/src/capture/windows.rs b/src/capture/windows.rs index cece705..03f11f6 100644 --- a/src/capture/windows.rs +++ b/src/capture/windows.rs @@ -61,8 +61,10 @@ impl WindowsCapture { let mut context: Option = None; let mut feature_level = D3D_FEATURE_LEVEL_11_0; + let adapter_base = adapter.cast::()?; + D3D11CreateDevice( - Some(&adapter), + Some(&adapter_base), D3D_DRIVER_TYPE_UNKNOWN, HMODULE(std::ptr::null_mut()), D3D11_CREATE_DEVICE_BGRA_SUPPORT, diff --git a/src/encoder.rs b/src/encoder.rs index 775a093..56374c7 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -535,7 +535,7 @@ impl WindowsHwEncoder { } } #[cfg(target_os = "windows")] - Frame::D3D11Texture { handle: _ } => { + Frame::D3D11Texture { handle: _, .. } => { // Zero-copy D3D11 frame submission (*self.sw_frame).pts = pts;