Ariver
2026-06-02 3fbceec8de833416bf1ae049f959f222c3f1a4a0
privatevoice.src/internal/singleinstance/singleinstance_unix.go
File was renamed from VoiceSnapGo/internal/singleinstance/singleinstance_unix.go
@@ -15,7 +15,7 @@
// Acquire tries to acquire a file lock. Returns error if another instance holds it.
func Acquire() (Lock, error) {
   lockPath := filepath.Join(os.TempDir(), "voicesnap.lock")
   lockPath := filepath.Join(os.TempDir(), "privatevoice-input.lock")
   f, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0600)
   if err != nil {
      return nil, err