Closed gourgouris closed 8 months ago
When I try to use setAppName for a windows target, if my code has window.CreateAndShow instead of window.Create, once the tool is run, it replaces the name but also it replaces CreateAndShow with Create. I think there is a typo in this line: https://github.com/onatcipli/rename/blob/b082e05fe2c68b7cb59f4844087022fd5d339b96/lib/platform_file_editors/windows_platform_file_editor.dart#L87 Shouldn't it be return 'CreateAndShow(L"$appName"';
window.CreateAndShow
window.Create
CreateAndShow
Create
return 'CreateAndShow(L"$appName"';
Hey @gourgouris , thank you for reporting this can you try with the latest version I have fix for it ✌️
version 3.0.1
Please reopen the issue if it isn't fixed
When I try to use setAppName for a windows target, if my code has
window.CreateAndShow
instead ofwindow.Create
, once the tool is run, it replaces the name but also it replacesCreateAndShow
withCreate
. I think there is a typo in this line: https://github.com/onatcipli/rename/blob/b082e05fe2c68b7cb59f4844087022fd5d339b96/lib/platform_file_editors/windows_platform_file_editor.dart#L87 Shouldn't it bereturn 'CreateAndShow(L"$appName"';