mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +03:00
agent string fixes
This commit is contained in:
parent
64df7ee6dd
commit
a6d5de368c
@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
csminer.MultiMain(GnomeScreenStater{}, csminer.VERSION_STRING+" (linux)")
|
||||
csminer.MultiMain(GnomeScreenStater{}, "csminer "+csminer.VERSION_STRING+" (linux)")
|
||||
}
|
||||
|
||||
type GnomeScreenStater struct {
|
||||
|
@ -107,5 +107,5 @@ func getBatteryPowerState() (bool, error) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
csminer.MultiMain(OSXScreenStater{}, csminer.VERSION_STRING+" (osx)")
|
||||
csminer.MultiMain(OSXScreenStater{}, "csminer "+csminer.VERSION_STRING+" (osx)")
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ func (cl *Client) Connect(uname, pw, rigid string, useTLS bool) error {
|
||||
Login string `json:"login"`
|
||||
Pass string `json:"pass"`
|
||||
RigID string `json:"rigid"`
|
||||
Agent string
|
||||
Agent string `json:"agent"`
|
||||
}{
|
||||
Login: uname,
|
||||
Pass: pw,
|
||||
|
Loading…
Reference in New Issue
Block a user