File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ fn main() {
5959 . with_line_number ( true )
6060 . init ( ) ;
6161
62+ // Only disable hardware acceleration if running specifically as an AppImage
63+ #[ cfg( target_os = "linux" ) ]
64+ if std:: env:: var ( "APPIMAGE" ) . is_ok ( ) {
65+ std:: env:: set_var ( "WEBKIT_DISABLE_DMABUF_RENDERER" , "1" ) ;
66+ tracing:: debug!( "AppImage detected: Disabling DMABUF for stability." ) ;
67+ }
68+
6269 tracing:: info!(
6370 "Starting AltSendme Desktop application v{}" ,
6471 version:: get_app_version( )
@@ -78,7 +85,6 @@ fn main() {
7885 . plugin ( tauri_plugin_os:: init ( ) )
7986 . plugin ( tauri_plugin_http:: init ( ) )
8087 . plugin ( tauri_plugin_shell:: init ( ) )
81- . plugin ( tauri_plugin_shell:: init ( ) )
8288 . manage ( Arc :: new ( tokio:: sync:: Mutex :: new ( {
8389 // Check for launch args (potential file path from context menu)
8490 let args: Vec < String > = std:: env:: args ( ) . skip ( 1 ) . collect ( ) ;
You can’t perform that action at this time.
0 commit comments