Compare commits
No commits in common. "1a059e1b77c017720a38f73c41cb1f8f06b8a08e" and "9b9160405eefe376a87d78ce0e1eaff7f2074305" have entirely different histories.
1a059e1b77
...
9b9160405e
@ -70,11 +70,7 @@ On MacOS, you can setup a Launch Agent in `~/Library/LaunchAgents/com.mrgeckosme
|
|||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
```
|
|
||||||
|
|
||||||
For local network connection, you need to code sign your build.
|
|
||||||
```bash
|
|
||||||
codesign -s - --force --deep /path/to/bin/midi-request-trigger
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Start with:
|
Start with:
|
||||||
|
@ -33,7 +33,7 @@ type LogConfig struct {
|
|||||||
// go to the stderr. An file path, will log to the file. Using `default-file`
|
// go to the stderr. An file path, will log to the file. Using `default-file`
|
||||||
// it'll either save to `/var/log/name.log`, or to the same directory as the
|
// it'll either save to `/var/log/name.log`, or to the same directory as the
|
||||||
// executable if the path is not writable, or on Windows.
|
// executable if the path is not writable, or on Windows.
|
||||||
Outputs []string `fig:"outputs" yaml:"outputs" default:"console,default-file"`
|
Outputs []string `fig:"outputs" yaml:"outputs" default:"[console,default-file]"`
|
||||||
// Maximum size of the log file in megabytes before it gets rotated.
|
// Maximum size of the log file in megabytes before it gets rotated.
|
||||||
MaxSize int `fig:"max_size" yaml:"max_size" default:"1"`
|
MaxSize int `fig:"max_size" yaml:"max_size" default:"1"`
|
||||||
// Maximum number of backups to save.
|
// Maximum number of backups to save.
|
||||||
|
@ -613,7 +613,5 @@ func (r *MidiRouter) Disconnect() {
|
|||||||
if r.ListenerStop != nil {
|
if r.ListenerStop != nil {
|
||||||
r.ListenerStop()
|
r.ListenerStop()
|
||||||
}
|
}
|
||||||
if r.MqttClient != nil {
|
r.MqttClient.Disconnect(0)
|
||||||
r.MqttClient.Disconnect(0)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user