Skip to content

Commit b626055

Browse files
author
locksec
committed
Log to current working directory, remove fixed path
1 parent ae582c3 commit b626055

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ElevenTray
2-
// Version: 1.0.0
2+
// Version: 1.0.1
33
// Created on: 2024-08-14
44
// Last Updated: 2024-08-14
55
// Author: Ray Heffer
@@ -67,8 +67,9 @@ func monitorNotifyIconSettings() {
6767
}
6868

6969
func main() {
70-
// Open (or create) log file
71-
f, err := os.OpenFile("C:\\Program Files\\ElevenTray\\ElevenTray.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
70+
// Open (or create) log file in the current directory
71+
logFilePath := "ElevenTray.log"
72+
f, err := os.OpenFile(logFilePath, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
7273
if err != nil {
7374
log.Fatalf("Error opening log file: %v", err)
7475
}

resource.syso

8 Bytes
Binary file not shown.

setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Setup]
22
AppName=ElevenTray
3-
AppVersion=1.0
3+
AppVersion=1.0.1
44
AppVerName=ElevenTray
55
DefaultDirName={commonpf64}\ElevenTray
66
DefaultGroupName=ElevenTray

versioninfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"StringFileInfo": {
2222
"Comments": "",
2323
"CompanyName": "The Lockdown",
24-
"FileDescription": "Show all tray icons on Windows",
24+
"FileDescription": "ElevenTray (Show all tray icons)",
2525
"FileVersion": "1.0.0.0",
2626
"InternalName": "ElevenTray.exe",
2727
"LegalCopyright": "© 2024 The Lockdown",

0 commit comments

Comments
 (0)