Skip to content

Commit

Permalink
TR
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaYslmn committed Mar 25, 2023
1 parent c6f8266 commit f40ea0d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,14 @@ public SettingsForm()
Program.unRegPowerNotify = NativeMethods.RegisterPowerSettingNotification(Handle, settingGuid.ConsoleDisplayState, NativeMethods.DEVICE_NOTIFY_WINDOW_HANDLE);

SetVersionLabel("Sürüm: " + Assembly.GetExecutingAssembly().GetName().Version);
Thread t = new Thread(() =>

string model = Program.config.GetModel();
int trim = model.LastIndexOf("_");
if (trim > 0) model = model.Substring(0, trim);

labelModel.Text = model;

Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromSeconds(5));
CheckForUpdatesAsync();
Expand Down

0 comments on commit f40ea0d

Please sign in to comment.