Skip to content

Commit

Permalink
Activate updater
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Feb 15, 2019
1 parent ad528f3 commit d358566
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion info.plist
Expand Up @@ -705,7 +705,7 @@
<string>10m</string>
</dict>
<key>version</key>
<string>3.0.0</string>
<string>3.0.1</string>
<key>webaddress</key>
<string></string>
</dict>
Expand Down
7 changes: 6 additions & 1 deletion main.go
Expand Up @@ -13,12 +13,14 @@ import (
"path/filepath"

aw "github.com/deanishe/awgo"
"github.com/deanishe/awgo/update"
)

const (
cacheKey = "projects.json"
issueTrackerURL = "https://github.com/deanishe/alfred-sublime-text/issues"
forumThreadURL = "https://www.alfredforum.com/topic/4510-find-and-open-sublime-text-projects/"
repo = "deanishe/alfred-sublime-text"
)

var (
Expand All @@ -27,7 +29,10 @@ var (
)

func init() {
wf = aw.New()
wf = aw.New(
update.GitHub(repo),
aw.HelpURL(issueTrackerURL),
)
configFile = filepath.Join(wf.DataDir(), "sublime.toml")
}

Expand Down

0 comments on commit d358566

Please sign in to comment.