1 parent 2f2d1bc commit e00d550Copy full SHA for e00d550
2 files changed
README.md
@@ -42,7 +42,7 @@ A cross-platform process activity tracker written in Go. It runs as a background
42
1. Download latest release ZIP from [Releases](https://github.com/jms-guy/timekeep/releases)
43
2. Extract ZIP file
44
3. Run the appropriate install script:
45
- - **Windows**: 'install.ps1' - Right click, run with PowerShell as Administrator
+ - **Windows**: Double click 'install.bat'
46
- **Linux**: ```chmod +x install.sh && sudo ./install.sh```
47
48
### Method 2: Build from Source
scripts/install.ps1
@@ -1,5 +1,9 @@
1
#Requires -RunAsAdministrator
2
3
+if ($PSScriptRoot) {
4
+ Set-Location $PSScriptRoot
5
+}
6
+
7
if (Test-Path "windows\timekeep-service.exe") {
8
$BinaryDir = "windows"
9
} elseif (Test-Path "timekeep-service.exe") {
0 commit comments