File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ use colored::*;
33use nix:: unistd:: { getpid, setpgid} ;
44use std:: panic;
55
6- use flatplay:: FlatpakManager ;
76use flatplay:: process:: { is_process_running, kill_process_group} ;
87use flatplay:: state:: State ;
8+ use flatplay:: FlatpakManager ;
99
1010#[ derive( Parser ) ]
1111#[ command( author, version, about, long_about = None ) ]
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ use std::env;
44use std:: process:: Command ;
55
66pub fn get_host_env ( ) -> HashMap < String , String > {
7- let forwarded_env_keys = [ "COLORTERM" ,
7+ let forwarded_env_keys = [
8+ "COLORTERM" ,
89 "DESKTOP_SESSION" ,
910 "LANG" ,
1011 "WAYLAND_DISPLAY" ,
@@ -14,7 +15,8 @@ pub fn get_host_env() -> HashMap<String, String> {
1415 "XDG_SESSION_ID" ,
1516 "XDG_SESSION_TYPE" ,
1617 "XDG_VTNR" ,
17- "AT_SPI_BUS_ADDRESS" ] ;
18+ "AT_SPI_BUS_ADDRESS" ,
19+ ] ;
1820
1921 let mut env_vars = HashMap :: new ( ) ;
2022
@@ -60,9 +62,7 @@ pub fn get_a11y_bus_args() -> Vec<String> {
6062 vec ! [
6163 format!( "--bind-mount=/run/flatpak/at-spi-bus={}" , unix_path) ,
6264 if !suffix. is_empty( ) {
63- format!(
64- "--env=AT_SPI_BUS_ADDRESS=unix:path=/run/flatpak/at-spi-bus{suffix}"
65- )
65+ format!( "--env=AT_SPI_BUS_ADDRESS=unix:path=/run/flatpak/at-spi-bus{suffix}" )
6666 } else {
6767 "--env=AT_SPI_BUS_ADDRESS=unix:path=/run/flatpak/at-spi-bus" . to_string( )
6868 } ,
You can’t perform that action at this time.
0 commit comments