aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name <you@example.com>2019-01-16 23:49:22 +0900
committerYour Name <you@example.com>2019-01-16 23:49:22 +0900
commit954dbe5c55e935521271eb74d152555188a0d225 (patch)
treed0c02736be957164c9bffc91454754d466929832
parent26477a691fdaa382aa9337dc225a3251ed4e863f (diff)
downloadwf-clock-954dbe5c55e935521271eb74d152555188a0d225.tar.gz
update README
-rw-r--r--COPYING19
-rw-r--r--README18
-rw-r--r--README.txt9
-rw-r--r--WarframeClock/ClockOverlay.cs10
4 files changed, 39 insertions, 17 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..534acd5
--- /dev/null
+++ b/COPYING
@@ -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.
diff --git a/README b/README
new file mode 100644
index 0000000..cd72e05
--- /dev/null
+++ b/README
@@ -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)
{