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
2
5
- Fix zip and installer versions not running
3
6
4
7
Nitefox 1.1.0 Release
Original file line number Diff line number Diff line change 4
4
<OutputType >WinExe</OutputType >
5
5
<TargetFramework >net8.0</TargetFramework >
6
6
<ApplicationIcon >nitefox_icon.ico</ApplicationIcon >
7
- <Version >1.1.1 </Version >
7
+ <Version >1.1.2 </Version >
8
8
</PropertyGroup >
9
9
10
10
<PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
Original file line number Diff line number Diff line change 4
4
using Nitefox . Client . Photino . Services ;
5
5
using Nitefox . Client . Shared ;
6
6
using Photino . Blazor ;
7
+ using Photino . NET ;
7
8
8
9
namespace Nitefox . Client . Photino
9
10
{
@@ -29,14 +30,20 @@ static void Main(string[] args)
29
30
. SetMinHeight ( 700 )
30
31
. SetContextMenuEnabled ( false )
31
32
. SetIconFile ( "nitefox_icon.ico" )
32
- . SetTitle ( "Nitefox " ) ;
33
+ . SetTitle ( "" ) ; // To avoid creating a start menu shortcut
33
34
34
35
app . MainWindow . Centered = true ;
35
36
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
+ } ;
36
43
37
44
App = app ;
38
45
39
- AppDomain . CurrentDomain . UnhandledException += ( sender , error ) =>
46
+ AppDomain . CurrentDomain . UnhandledException += ( _ , error ) =>
40
47
{
41
48
app . MainWindow . ShowMessage ( "Fatal exception" , error . ExceptionObject . ToString ( ) ) ;
42
49
} ;
You can’t perform that action at this time.
0 commit comments