Skip to content

Commit e00d550

Browse files
committed
ps install script change
1 parent 2f2d1bc commit e00d550

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A cross-platform process activity tracker written in Go. It runs as a background
4242
1. Download latest release ZIP from [Releases](https://github.com/jms-guy/timekeep/releases)
4343
2. Extract ZIP file
4444
3. Run the appropriate install script:
45-
- **Windows**: 'install.ps1' - Right click, run with PowerShell as Administrator
45+
- **Windows**: Double click 'install.bat'
4646
- **Linux**: ```chmod +x install.sh && sudo ./install.sh```
4747

4848
### Method 2: Build from Source

scripts/install.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#Requires -RunAsAdministrator
22

3+
if ($PSScriptRoot) {
4+
Set-Location $PSScriptRoot
5+
}
6+
37
if (Test-Path "windows\timekeep-service.exe") {
48
$BinaryDir = "windows"
59
} elseif (Test-Path "timekeep-service.exe") {

0 commit comments

Comments
 (0)