File tree Expand file tree Collapse file tree 3 files changed +2
-33
lines changed Expand file tree Collapse file tree 3 files changed +2
-33
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,6 @@ public static bool HasFile(String name)
220220 return File . Exists ( uninstallExe ) ;
221221 }
222222
223- public static bool AcceptedTerms
224- {
225- get { return HasFile ( "Uninstall.exe" ) ; }
226- }
227-
228223 private static System . Timers . Timer ? updateTimer ;
229224
230225 public static void RunUpdater ( string Title , bool user = false , int recheckIntervalHours = 24 )
Original file line number Diff line number Diff line change 88
99- FanControl: Support ` 0xB030/0xA ` device
1010- SteamController: ` DS4 ` backpanel and haptic settings are part of Release build
11+ - Updater: Remove ` InstallationTime `
1112
1213## 0.6.18
1314
Original file line number Diff line number Diff line change @@ -236,34 +236,7 @@ public static string InstallationTime
236236 {
237237 get
238238 {
239- try
240- {
241- using ( var registryKey = Registry . CurrentUser . CreateSubKey ( @"Software\SteamDeckTools" , true ) )
242- {
243- var installationTime = registryKey ? . GetValue ( "InstallationTime" ) as string ;
244- if ( installationTime is null )
245- {
246- var previousTime = RegistryUtils . GetDateModified (
247- RegistryHive . CurrentUser , @"Software\SteamDeckTools" ) ;
248- Log . TraceLine ( "PreviousTime: {0}" , previousTime ) ;
249- previousTime ??= DateTimeOffset . UtcNow ;
250-
251- registryKey ? . SetValue ( "InstallationTime" , previousTime . Value . ToUnixTimeMilliseconds ( ) ) ;
252- installationTime = registryKey ? . GetValue ( "InstallationTime" ) as string ;
253- }
254-
255- if ( ! Instance . AcceptedTerms )
256- {
257- return "" ;
258- }
259-
260- return installationTime ?? "" ;
261- }
262- }
263- catch ( Exception e )
264- {
265- return "" ;
266- }
239+ return "" ;
267240 }
268241 }
269242
You can’t perform that action at this time.
0 commit comments