diff options
author | Your Name <you@example.com> | 2019-01-16 23:49:22 +0900 |
---|---|---|
committer | Your Name <you@example.com> | 2019-01-16 23:49:22 +0900 |
commit | 954dbe5c55e935521271eb74d152555188a0d225 (patch) | |
tree | d0c02736be957164c9bffc91454754d466929832 | |
parent | 26477a691fdaa382aa9337dc225a3251ed4e863f (diff) | |
download | wf-clock-954dbe5c55e935521271eb74d152555188a0d225.tar.gz |
update README
-rw-r--r-- | COPYING | 19 | ||||
-rw-r--r-- | README | 18 | ||||
-rw-r--r-- | README.txt | 9 | ||||
-rw-r--r-- | WarframeClock/ClockOverlay.cs | 10 |
4 files changed, 39 insertions, 17 deletions
@@ -0,0 +1,19 @@ +Copyright (c) 2019 poepoeorg <warframe@poepoe.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. @@ -0,0 +1,18 @@ +Warframe Overlay Clock +====================== + +![Screenshot](https://i.imgur.com/5x9XduM.png) + +Usage +----- + +Just start the executable. The overlay will automatically show up when you +start the game. + +Right click the system tray icon and select 'Quit' to terminate the overlay +program. + +Copyright +--------- + +MIT License. See COPYING for details. diff --git a/README.txt b/README.txt deleted file mode 100644 index c274a7f..0000000 --- a/README.txt +++ /dev/null @@ -1,9 +0,0 @@ -Warframe Clock -============== - -WORK IN PROGRESS - -License -------- - -MIT
\ No newline at end of file diff --git a/WarframeClock/ClockOverlay.cs b/WarframeClock/ClockOverlay.cs index 1bb587b..4d873f7 100644 --- a/WarframeClock/ClockOverlay.cs +++ b/WarframeClock/ClockOverlay.cs @@ -200,18 +200,12 @@ namespace WarframeClock try { - var handle = process.MainWindowHandle; - if (handle != IntPtr.Zero) + targetWindowHandle = process.MainWindowHandle; + if (targetWindowHandle != IntPtr.Zero) { - targetWindowHandle = handle; Console.WriteLine($"ClockOverlay: Found a process with name={targetProcessName}; " + $"MainWindowHandle={targetWindowHandle}"); } - else - { - Console.WriteLine($"ClockOverlay: Found a process with name={targetProcessName}; " + - "but without a main window"); - } } catch (Exception) { |