Skip to content

Commit 1d722ce

Browse files
Numb006claude
andcommitted
feat: show QuickStartPopup on every launch + custom app icon
- QuickStartPopup now appears on every startup (not just first run) - Remove FirstRun flag from AppConfig (no longer needed) - Add app.ico: dark background with green→yellow progress bar (16/32/48px) - Set ApplicationIcon in .csproj + Inno Setup installer icon Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e7121fa commit 1d722ce

5 files changed

Lines changed: 4 additions & 8 deletions

File tree

TimeboxBar/Core/AppConfig.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public class AppConfig
2323
[DataMember] public int QuickStart2 { get; set; }
2424
[DataMember] public bool PlaySound { get; set; }
2525
[DataMember] public string Language { get; set; } // "auto", "de", "en"
26-
[DataMember] public bool FirstRun { get; set; }
2726

2827
public bool IsBottom => Position == "Bottom";
2928
public int ClampedBarHeight => Math.Max(MinBarHeight, Math.Min(MaxBarHeight, BarHeight));
@@ -46,7 +45,6 @@ private void ApplyDefaults()
4645
QuickStart2 = 45;
4746
PlaySound = true;
4847
Language = "auto";
49-
FirstRun = true;
5048
}
5149

5250
private static string ConfigPath => Path.Combine(

TimeboxBar/TimeboxBar.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<FileAlignment>512</FileAlignment>
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1616
<ApplicationManifest>app.manifest</ApplicationManifest>
17+
<ApplicationIcon>app.ico</ApplicationIcon>
1718
</PropertyGroup>
1819
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1920
<DebugSymbols>true</DebugSymbols>
@@ -56,6 +57,7 @@
5657
<EmbeddedResource Include="Properties\Resources.resx" />
5758
<EmbeddedResource Include="Properties\Resources.de.resx" />
5859
<None Include="app.manifest" />
60+
<None Include="app.ico" />
5961
</ItemGroup>
6062
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6163
</Project>

TimeboxBar/UI/BarForm.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,7 @@ protected override void OnHandleCreated(EventArgs e)
136136
if (!hotkeyOk)
137137
_trayIcon.ShowBalloonTip(4000, "TimeboxBar", S.HotkeyConflict, ToolTipIcon.Warning);
138138

139-
if (_config.FirstRun)
140-
{
141-
_config.FirstRun = false;
142-
_config.Save();
143-
BeginInvoke(new System.Action(ShowQuickStartPopup));
144-
}
139+
BeginInvoke(new System.Action(ShowQuickStartPopup));
145140
}
146141

147142
protected override void OnFormClosed(FormClosedEventArgs e)

TimeboxBar/app.ico

1.07 KB
Binary file not shown.

installer/TimeboxBar.iss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ DefaultGroupName={#MyAppName}
1616
DisableProgramGroupPage=yes
1717
OutputDir=Output
1818
OutputBaseFilename=TimeboxBar-{#MyAppVersion}-Setup
19+
SetupIconFile=..\TimeboxBar\app.ico
1920
Compression=lzma2
2021
SolidCompression=yes
2122
WizardStyle=modern

0 commit comments

Comments
 (0)