Commit ceee501 1 parent aa239fa commit ceee501 Copy full SHA for ceee501
File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 132
132
133
133
.Settings__environment_option_spacer {
134
134
width : 100% ;
135
- height : 3 rem ;
135
+ height : 4.5 rem ;
136
136
}
137
137
138
138
.Settings__env_option_text {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const EnvironmentOption = ({
10
10
} ) => {
11
11
12
12
//Splits the env using OS-spesific delimiter / or \ and then filters out every other substring except the Emme version folder name.
13
- const emmeVersionName = envPath . split ( path . sep ) . filter ( ( subStr ) => subStr . startsWith ( 'Emme-' ) ) ;
13
+ const emmeVersionName = envPath . split ( path . sep ) . filter ( ( subStr ) => subStr . startsWith ( 'Emme-' ) ? true : subStr . startsWith ( 'EMME' ) ) ;
14
14
15
15
return (
16
16
< div className = "Settings__environment_option" key = { envPath } >
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ const listEMMEPythonPaths = () => {
74
74
paths . push (
75
75
`Program Files\\${ commonEmmePath } ` ,
76
76
`Program Files (x86)\\${ commonEmmePath } ` ,
77
+ `Program Files\\Bentley\\OpenPaths` ,
77
78
`${ commonEmmePath } ` ,
78
79
)
79
80
} )
@@ -121,7 +122,7 @@ function hasPythonEnv(basePath) {
121
122
try {
122
123
const subPaths = fs . readdirSync ( basePath )
123
124
subPaths . forEach ( subPath => {
124
- if ( subPath . startsWith ( "Emme" ) ) {
125
+ if ( subPath . startsWith ( "Emme" ) || subPath . startsWith ( "EMME" ) ) {
125
126
const emmeVersionFolder = path . join ( basePath , subPath ) ;
126
127
const emmeVersionFolderContents = fs . readdirSync ( emmeVersionFolder ) ;
127
128
emmeVersionFolderContents . forEach ( emmeFolderPath => {
You can’t perform that action at this time.
0 commit comments