File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1- Nitefox 1.1.1 Release
1+ Nitefox 1.1.2 Release
2+ - Fix start menu duplicate app entries on windows
3+
4+ Nitefox 1.1.1 Release
25- Fix zip and installer versions not running
36
47Nitefox 1.1.0 Release
Original file line number Diff line number Diff line change 44 <OutputType >WinExe</OutputType >
55 <TargetFramework >net8.0</TargetFramework >
66 <ApplicationIcon >nitefox_icon.ico</ApplicationIcon >
7- <Version >1.1.1 </Version >
7+ <Version >1.1.2 </Version >
88 </PropertyGroup >
99
1010 <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
Original file line number Diff line number Diff line change 44using Nitefox . Client . Photino . Services ;
55using Nitefox . Client . Shared ;
66using Photino . Blazor ;
7+ using Photino . NET ;
78
89namespace Nitefox . Client . Photino
910{
@@ -29,14 +30,20 @@ static void Main(string[] args)
2930 . SetMinHeight ( 700 )
3031 . SetContextMenuEnabled ( false )
3132 . SetIconFile ( "nitefox_icon.ico" )
32- . SetTitle ( "Nitefox " ) ;
33+ . SetTitle ( "" ) ; // To avoid creating a start menu shortcut
3334
3435 app . MainWindow . Centered = true ;
3536 app . MainWindow . GrantBrowserPermissions = true ;
37+ app . MainWindow . WindowCreated += ( sender , _ ) =>
38+ {
39+ // Set title after window is created to avoid errors
40+ if ( sender is not PhotinoWindow window ) return ;
41+ window . Title = "Nitefox" ;
42+ } ;
3643
3744 App = app ;
3845
39- AppDomain . CurrentDomain . UnhandledException += ( sender , error ) =>
46+ AppDomain . CurrentDomain . UnhandledException += ( _ , error ) =>
4047 {
4148 app . MainWindow . ShowMessage ( "Fatal exception" , error . ExceptionObject . ToString ( ) ) ;
4249 } ;
You can’t perform that action at this time.
0 commit comments