Skip to content

Commit

Permalink
fix: update lunii-cli (fix mp3 bitrate)
Browse files Browse the repository at this point in the history
  • Loading branch information
olup committed Oct 6, 2022
1 parent 90709f8 commit cf0cf3f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
32 changes: 16 additions & 16 deletions frontend/wailsjs/go/models.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
export namespace main {

export class CheckUpdateResponse {
canUpdate: boolean;
latestVersion: string;
releaseNotes: string;

static createFrom(source: any = {}) {
return new CheckUpdateResponse(source);
}

constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.canUpdate = source["canUpdate"];
this.latestVersion = source["latestVersion"];
this.releaseNotes = source["releaseNotes"];
}
}
export class Infos {
version: string;
machineId: string;
Expand All @@ -34,6 +18,22 @@ export namespace main {
this.arch = source["arch"];
}
}
export class CheckUpdateResponse {
canUpdate: boolean;
latestVersion: string;
releaseNotes: string;

static createFrom(source: any = {}) {
return new CheckUpdateResponse(source);
}

constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.canUpdate = source["canUpdate"];
this.latestVersion = source["latestVersion"];
this.releaseNotes = source["releaseNotes"];
}
}

}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/denisbrodbeck/machineid v1.0.1
github.com/google/uuid v1.3.0
github.com/newrelic/go-agent/v3 v3.19.2
github.com/olup/lunii-cli v0.0.0-20221004194038-51bb0ff8f7fa
github.com/olup/lunii-cli v0.0.0-20221006192221-9cb951d6ed94
github.com/rhysd/go-github-selfupdate v1.2.3
github.com/sirupsen/logrus v1.9.0
github.com/wailsapp/wails/v2 v2.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ github.com/newrelic/go-agent/v3 v3.19.2 h1:gu5Vyp/61gMzXptr+va7+pliKaRkNShoSadYG
github.com/newrelic/go-agent/v3 v3.19.2/go.mod h1:rT6ZUxJc5rQbWLyCtjqQCOcfb01lKRFbc1yMQkcboWM=
github.com/nwaples/rardecode/v2 v2.0.0-beta.2 h1:e3mzJFJs4k83GXBEiTaQ5HgSc/kOK8q0rDaRO0MPaOk=
github.com/nwaples/rardecode/v2 v2.0.0-beta.2/go.mod h1:yntwv/HfMc/Hbvtq9I19D1n58te3h6KsqCf3GxyfBGY=
github.com/olup/lunii-cli v0.0.0-20221004194038-51bb0ff8f7fa h1:7k6SpsYfUAFZKekaq4bxx75JxgEHwgIklrdxElvbgQc=
github.com/olup/lunii-cli v0.0.0-20221004194038-51bb0ff8f7fa/go.mod h1:oSGXGkGLrEr8iSTZzIakQ4pHyKhEbltFUhKh0s60csA=
github.com/olup/lunii-cli v0.0.0-20221006192221-9cb951d6ed94 h1:8zzmg5iVy47zbhArGdZFDA8T9n+zjmRFMddAroQ7HC0=
github.com/olup/lunii-cli v0.0.0-20221006192221-9cb951d6ed94/go.mod h1:oSGXGkGLrEr8iSTZzIakQ4pHyKhEbltFUhKh0s60csA=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/gomega v1.4.2 h1:3mYCb7aPxS/RU7TI1y4rkEn1oKmPRjNJLNEXgw7MH2I=
github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
Expand Down

0 comments on commit cf0cf3f

Please sign in to comment.