We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96244e9 commit 67bf275Copy full SHA for 67bf275
1 file changed
install.ps1
@@ -98,7 +98,7 @@ function Create-StartupShortcut {
98
$Shortcut.TargetPath = $targetPath
99
$Shortcut.Arguments = "run"
100
$Shortcut.WorkingDirectory = $InstallDir
101
- $Shortcut.WindowStyle = 7 # Minimized
+ $Shortcut.WindowStyle = 0
102
$Shortcut.Description = "TimeSplit - Automatic startup"
103
$Shortcut.Save()
104
@@ -161,7 +161,7 @@ function Install-Program {
161
# Start the program immediately
162
Write-Info "Starting $ProgramName..."
163
try {
164
- Start-Process -FilePath $InstallPath -ArgumentList "run" -WindowStyle Minimized
+ Start-Process -FilePath $InstallPath -ArgumentList "run" -WindowStyle Hidden
165
Write-Success "$ProgramName started successfully!"
166
} catch {
167
Write-Err "Failed to start ${ProgramName}: $_"
0 commit comments