Skip to content

Commit f8c56b7

Browse files
committed
Fix NW.js version check for SDK build
1 parent 169395a commit f8c56b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def save_file_path(self, version, location=None, sdk_build=False):
185185
if minor >= 12 or major > 0:
186186
path = path.replace('node-webkit', 'nwjs')
187187

188-
if sdk_build:
188+
if minor >= 13 and sdk_build:
189189
path = utils.replace_right(path, 'nwjs', 'nwjs-sdk', 1)
190190

191191
return path

0 commit comments

Comments
 (0)