Skip to content

Set application name in macOS driver#9

Closed
JoshBashed wants to merge 6 commits intoWhisky-App:7.7from
JoshBashed:feat/icon-title-patch
Closed

Set application name in macOS driver#9
JoshBashed wants to merge 6 commits intoWhisky-App:7.7from
JoshBashed:feat/icon-title-patch

Conversation

@JoshBashed
Copy link
Copy Markdown

This pull request adds functionality to set the application name in the macOS driver. The macdrv_set_application_name function is implemented to set the application name based on the module file name. This allows for better identification of the application in macOS.

@Gcenx
Copy link
Copy Markdown

Gcenx commented Jun 7, 2024

You'd commonly want to rebase instead of adding a merge commit as those cause problems.

@JoshBashed
Copy link
Copy Markdown
Author

You'd commonly want to rebase instead of adding a merge commit as those cause problems.

It builds fine on my machine. I don't know of any problems on my end.

JoshBashed added a commit to JoshBashed/whisky-wine that referenced this pull request Jul 23, 2024
…rt-2-revert-1-feat/icon-title-patch

Revert "Revert "Revert "Revert "Use exe title name""""
JoshBashed pushed a commit to JoshBashed/whisky-wine that referenced this pull request Jul 23, 2024
…t-3-revert-2-revert-1-feat/icon-title-patch"

This reverts commit 8657186, reversing
changes made to 599b283.
Comment thread dlls/winemac.drv/window.c

// Get offset to the last backslash
DWORD last_char_pos = 0;
for (DWORD i = 0; i < len; i++)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

iterating backward will give the same result without multiple reassignments

Comment thread dlls/winemac.drv/window.c
last_char_pos = i;
}

if (len && len < ARRAY_SIZE(app_name))
Copy link
Copy Markdown

@gennady-lebedev gennady-lebedev Aug 4, 2024

Choose a reason for hiding this comment

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

for-loop up above will also fail if this condition is false

possible OOB vulnerability

@JoshBashed JoshBashed closed this Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants