@@ -37,27 +37,20 @@ public static class Info
3737 @" |____/|_| |_| |_|\__,_|_| \__|___|_| |_| |_|\__,_|\__, |\___|" + "\n " +
3838 " |___/\n " ;
3939
40- // @formatter:off — disable formatter after this line
41-
42- public const string NAME_BANNER2 = "#############################\n " +
43- "############**###############\n " +
44- "#######* ,#########" + " ____ _ ___\n " +
45- "###### ######## ,.#######" + " / ___| _ __ ___ __ _ _ __| |_|_ _|_ __ ___ __ _ __ _ ___\n " +
46- "#####. ,,#####.,, ,,.,####" + @" \___ \| '_ ` _ \ / _` | '__| __|| || '_ ` _ \ / _` |/ _` |/ _ \" + "\n " +
47- "##,.,, ,,.,,,., ,,,.,,,##" + " ___) | | | | | | (_| | | | |_ | || | | | | | (_| | (_| | __/\n " +
48- "(((((((* (((((((((" + @" |____/|_| |_| |_|\__,_|_| \__|___|_| |_| |_|\__,_|\__, |\___|" + "\n " +
49- "((((((((((((**(((( *((((((" + " |___/\n " +
50- "((((((((((((((((((((, ((((\n " +
51- "(((((((((((((((((((((((((((((\n " +
52- "(((((((((((((((((((((((((((((\n " ;
53-
54- // @formatter:on — enable formatter after this line
55-
56-
40+
41+ /// <summary>
42+ /// Name
43+ /// </summary>
5744 public const string NAME = "SmartImage" ;
5845
46+ /// <summary>
47+ /// Executable file name
48+ /// </summary>
5949 public const string NAME_EXE = "SmartImage.exe" ;
6050
51+ /// <summary>
52+ /// Config file name (<see cref="SearchConfig"/>)
53+ /// </summary>
6154 public const string NAME_CFG = "SmartImage.cfg" ;
6255
6356 public const string Author = "Read Stanton" ;
@@ -77,7 +70,7 @@ public static class Info
7770
7871 public static string AppFolder
7972 {
80- // todo: use ProgramData
73+ // todo: use ProgramData?
8174
8275 get
8376 {
@@ -106,21 +99,6 @@ public static void Setup()
10699 }
107100 }
108101
109- internal static Stream ? GetResource ( string resource )
110- {
111- Assembly a = Assembly . GetExecutingAssembly ( ) ;
112-
113- var n = a . GetName ( ) . Name ;
114-
115- //"SmartImage.hint.wav"
116-
117- // [Assembly].[asset]
118-
119- resource = n + "." + resource ;
120-
121- return a . GetManifestResourceStream ( resource ) ;
122- }
123-
124102 internal static void ShowInfo ( )
125103 {
126104
@@ -196,10 +174,5 @@ internal static void ShowInfo()
196174 NConsole . WriteInfo ( "{0} ({1})" , name . Name , name . Version ) ;
197175 }
198176 }
199-
200- internal static class Resources
201- {
202- internal static readonly Stream SndHint = GetResource ( "hint.wav" ) ! ;
203- }
204177 }
205178}
0 commit comments