File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Flow.Launcher.Infrastructure Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
- using System . Diagnostics ;
1
+ using System . Diagnostics ;
2
2
using System . IO ;
3
3
using System . Reflection ;
4
4
@@ -21,6 +21,7 @@ public static class Constant
21
21
public static readonly string PreinstalledDirectory = Path . Combine ( ProgramDirectory , Plugins ) ;
22
22
public const string Issue = "https://github.com/Flow-Launcher/Flow.Launcher/issues/new" ;
23
23
public static readonly string Version = FileVersionInfo . GetVersionInfo ( Assembly . Location . NonNull ( ) ) . ProductVersion ;
24
+ public static readonly string Dev = "Dev" ;
24
25
public const string Documentation = "https://flowlauncher.com/docs/#/usage-tips" ;
25
26
26
27
public static readonly int ThumbnailSize = 64 ;
Original file line number Diff line number Diff line change @@ -647,7 +647,20 @@ public FamilyTypeface SelectedResultFontFaces
647
647
public string Documentation => Constant . Documentation ;
648
648
public string Docs => Constant . Docs ;
649
649
public string Github => Constant . GitHub ;
650
- public static string Version => Constant . Version ;
650
+ public string Version
651
+ {
652
+ get
653
+ {
654
+ if ( Constant . Version == "1.0.0" )
655
+ {
656
+ return Constant . Dev ;
657
+ }
658
+ else
659
+ {
660
+ return Constant . Version ;
661
+ }
662
+ }
663
+ }
651
664
public string ActivatedTimes => string . Format ( _translater . GetTranslation ( "about_activate_times" ) , Settings . ActivateTimes ) ;
652
665
653
666
public string CheckLogFolder
You can’t perform that action at this time.
0 commit comments