@@ -87,15 +87,15 @@ impl OldConfig {
87
87
pub fn geode_root ( ) -> PathBuf {
88
88
// get data dir per-platform
89
89
let data_dir: PathBuf ;
90
- #[ cfg( windows) ]
90
+ #[ cfg( any ( windows, target_os = "linux" ) ) ]
91
91
{
92
92
data_dir = dirs:: data_local_dir ( ) . unwrap ( ) . join ( "Geode" ) ;
93
93
} ;
94
94
#[ cfg( target_os = "macos" ) ]
95
95
{
96
96
data_dir = PathBuf :: from ( "/Users/Shared/Geode" ) ;
97
97
} ;
98
- #[ cfg( not( any( windows, target_os = "macos" ) ) ) ]
98
+ #[ cfg( not( any( windows, target_os = "macos" , target_os = "linux" ) ) ) ]
99
99
{
100
100
use std:: compile_error;
101
101
compile_error ! ( "implement root directory" ) ;
@@ -144,7 +144,7 @@ impl Config {
144
144
pub fn new ( ) -> Config {
145
145
if !geode_root ( ) . exists ( ) {
146
146
warn ! ( "It seems you don't have Geode installed. Some operations will not work" ) ;
147
- info ! ( "You can setup Geode using `geode config setup`" ) ;
147
+ warn ! ( "You can setup Geode using `geode config setup`" ) ;
148
148
149
149
return Config {
150
150
current_profile : None ,
@@ -189,7 +189,7 @@ impl Config {
189
189
190
190
if output. profiles . is_empty ( ) {
191
191
warn ! ( "No Geode profiles found! Some operations will be unavailable." ) ;
192
- info ! ( "Setup Geode using `geode config setup`" ) ;
192
+ warn ! ( "Setup Geode using `geode config setup`" ) ;
193
193
} else if output. get_profile ( & output. current_profile ) . is_none ( ) {
194
194
output. current_profile = Some ( output. profiles [ 0 ] . borrow ( ) . name . clone ( ) ) ;
195
195
}
0 commit comments