Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Windows server_binary path adding unnecessary ".exe" #2378

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

woutermans
Copy link
Contributor

find_binary_name() already returns .exe at the end for the executable. So there is no need to add .exe a second time. Removing this fixes the bug on Windows where it will search for a binary ending on ".exe.exe". I have only tested this on Windows 11 23H2, but I don't think behaviour on other versions would be different.

Current behaviour:
337783985-c2f5261d-54a9-4f28-be18-fd91a95ebc6c

Behaviour after commit:
337784273-9233f868-19d5-4252-9d98-b9ec847041c0

Copy link
Contributor

@boxbeam boxbeam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this doesn't break the linux build

@boxbeam boxbeam requested a review from wsxiaoys June 7, 2024 21:44
@boxbeam boxbeam linked an issue Jun 7, 2024 that may be closed by this pull request
@woutermans woutermans changed the title fix: Windows server_binary path adding unnecassary ".exe" fix: Windows server_binary path adding unnecessary ".exe" Jun 8, 2024
@wsxiaoys wsxiaoys merged commit d26ab73 into TabbyML:main Jun 8, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows .exe file unavailable since version v0.12.0-rc.0
3 participants