Skip to content

Commit d45ceba

Browse files
committed
Register app icon after window creation
1 parent 86d3eb2 commit d45ceba

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

IDE/src/IDEApp.bf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12917,13 +12917,8 @@ namespace IDE
1291712917

1291812918
mGitManager.Init();
1291912919

12920-
#if BF_PLATFORM_LINUX
12921-
let icon = (Span<uint8>)cAppIcon;
12922-
BFApp_RegisterAppIcon(icon.Ptr, icon.Length);
12923-
12924-
#if LINUX_PACKAGE
12920+
#if BF_PLATFORM_LINUX && LINUX_PACKAGE
1292512921
mUserDataDir = new $"{Environment.GetEnvironmentVariable("HOME", .. scope .())}/.config/beeflang/";
12926-
#endif
1292712922
#endif
1292812923

1292912924
//Yoop();
@@ -13123,6 +13118,11 @@ namespace IDE
1312313118
flags, mMainFrame);
1312413119
}
1312513120

13121+
#if BF_PLATFORM_LINUX
13122+
let icon = (Span<uint8>)cAppIcon;
13123+
BFApp_RegisterAppIcon(icon.Ptr, icon.Length);
13124+
#endif
13125+
1312613126
if (mIsFirstRun)
1312713127
{
1312813128
// If this is our first time running, set up a scale based on DPI

0 commit comments

Comments
 (0)