Skip to content

Commit c6ec15d

Browse files
authored
Update setup instructions for prebuilt releases
1 parent ff993a6 commit c6ec15d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ For the background to this repo, see [this blog post](https://stuartleeks.com/po
1414

1515
## Setup
1616

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.
1820

1921
## Cleanup
2022

@@ -23,3 +25,8 @@ To remove the scheduled task, run `remove-wslclocktask.ps1`
2325
## Logs/Troubleshooting
2426

2527
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.
32+

0 commit comments

Comments
 (0)