File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def linux_browser_apps_to_cmd(*apps):
97
97
98
98
99
99
def chrome_on_linux_path (prefer_chromium = False ):
100
- if os_name () != "linux" :
100
+ if os_name () != OSType . LINUX :
101
101
return ""
102
102
if prefer_chromium :
103
103
paths = ["/bin/chromium" , "/bin/chromium-browser" ]
@@ -127,7 +127,7 @@ def chrome_on_linux_path(prefer_chromium=False):
127
127
128
128
129
129
def edge_on_linux_path ():
130
- if os_name () != "linux" :
130
+ if os_name () != OSType . LINUX :
131
131
return ""
132
132
paths = os .environ ["PATH" ].split (os .pathsep )
133
133
binaries = []
@@ -144,7 +144,7 @@ def edge_on_linux_path():
144
144
145
145
146
146
def chrome_on_windows_path ():
147
- if os_name () != "win32" :
147
+ if os_name () != OSType . WIN :
148
148
return ""
149
149
candidates = []
150
150
for item in map (
@@ -172,7 +172,7 @@ def chrome_on_windows_path():
172
172
173
173
174
174
def edge_on_windows_path ():
175
- if os_name () != "win32" :
175
+ if os_name () != OSType . WIN :
176
176
return ""
177
177
candidates = []
178
178
for item in map (
You can’t perform that action at this time.
0 commit comments