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 @@ -758,7 +758,20 @@ public bool ShortcutExists(string key)
758
758
public string Documentation => Constant . Documentation ;
759
759
public string Docs => Constant . Docs ;
760
760
public string Github => Constant . GitHub ;
761
- public static string Version => Constant . Version ;
761
+ public string Version
762
+ {
763
+ get
764
+ {
765
+ if ( Constant . Version == "1.0.0" )
766
+ {
767
+ return Constant . Dev ;
768
+ }
769
+ else
770
+ {
771
+ return Constant . Version ;
772
+ }
773
+ }
774
+ }
762
775
public string ActivatedTimes => string . Format ( _translater . GetTranslation ( "about_activate_times" ) , Settings . ActivateTimes ) ;
763
776
764
777
public string CheckLogFolder
You can’t perform that action at this time.
0 commit comments