Skip to content

Commit

Permalink
Disable automatic update
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Jul 24, 2019
1 parent 8f24108 commit 24a9d70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func init() {
func main() {
utl.CreateFolder(app.DataPath)
app.Process = utl.PathJoin(app.AppPath, "Rambox.exe")
app.Args = []string{
"--without-update",
}

configPath := path.Join(app.DataPath, "config.json")
if _, err := os.Stat(configPath); err == nil {
Expand Down

0 comments on commit 24a9d70

Please sign in to comment.