You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ For the background to this repo, see [this blog post](https://stuartleeks.com/po
14
14
15
15
## Setup
16
16
17
-
To set up the scheduled task, clone the repo and run `add-wslclocktask.ps1`.
17
+
Download the ZIP file for a [prebuilt release](https://github.com/stuartleeks/wsl-clock/releases/latest) and unzip to a local folder.
18
+
19
+
To set up the scheduled task, run `add-wslclocktask.ps1` in the content you just unzipped. This will set up a scheduled task triggered on Hibernation Resume events to run the `wsl-clock.exe` to check for clock drift on resuming from hibernation.
18
20
19
21
## Cleanup
20
22
@@ -23,3 +25,8 @@ To remove the scheduled task, run `remove-wslclocktask.ps1`
23
25
## Logs/Troubleshooting
24
26
25
27
The program invoked by the scheduled task logs output to `~/.wsl-clock.log`
28
+
29
+
## Building from source
30
+
31
+
The simplest way to build from source is to use [Visual Studio Code](https://code.visualstudio.com) and open as a [devcontainer](https://code.visualstudio.com/docs/remote/containers). This will run the development environment with the required version of Go and allow you to run `make build` to build the binary.
0 commit comments