You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the detailed report! This was caused by the executable check only testing Unix permission bits (S_IXUSR/S_IXGRP/S_IXOTH), which don't apply on Windows — so the validation always failed and the Save button stayed disabled for your .bat file. The current code adds a dedicated Windows path in the is-executable handler (if (process.platform === 'win32') return stat.isFile()), so any existing file is now accepted and the Save button enables. This has been resolved as part of the editor/build rewrite, so I'm closing this. If you still hit it on a recent build, please reopen with the path you entered and your MarkText version and we'll take another look.
Activity
Fix file executable check on win32 (marktext#3289)
Fix file executable check on win32 (marktext#3289)
Jocs commentedon Jul 2, 2026
Thanks for the detailed report! This was caused by the executable check only testing Unix permission bits (S_IXUSR/S_IXGRP/S_IXOTH), which don't apply on Windows — so the validation always failed and the Save button stayed disabled for your .bat file. The current code adds a dedicated Windows path in the is-executable handler (
if (process.platform === 'win32') return stat.isFile()), so any existing file is now accepted and the Save button enables. This has been resolved as part of the editor/build rewrite, so I'm closing this. If you still hit it on a recent build, please reopen with the path you entered and your MarkText version and we'll take another look.