Merge pull request #2934 from Flow-Launcher/fix_node_select_err

Fix Node.js path select error in settings window
This commit is contained in:
Jeremy Wu 2024-08-26 14:28:25 +10:00 committed by GitHub
commit 040d3b6f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,7 +194,7 @@ public partial class SettingsPaneGeneralViewModel : BaseModel
{ {
var selectedFile = GetFileFromDialog( var selectedFile = GetFileFromDialog(
InternationalizationManager.Instance.GetTranslation("selectNodeExecutable"), InternationalizationManager.Instance.GetTranslation("selectNodeExecutable"),
"*.exe" "node|*.exe"
); );
if (!string.IsNullOrEmpty(selectedFile)) if (!string.IsNullOrEmpty(selectedFile))