Skip to content

Commit

Permalink
Update some app icon on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
qianlifeng committed May 13, 2024
1 parent 12ae963 commit 0eae472
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Wox/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ require (
github.com/gorilla/websocket v1.5.1
github.com/jinzhu/copier v0.4.0
github.com/jinzhu/now v1.1.5
github.com/lxn/win v0.0.0-20210218163916-a377121e959e
github.com/mat/besticon v0.0.0-20231103204413-ee089084f347
github.com/mitchellh/go-homedir v1.1.0
github.com/mozillazg/go-pinyin v0.20.0
Expand Down Expand Up @@ -66,7 +67,6 @@ require (
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/klauspost/compress v1.17.2 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lxn/win v0.0.0-20210218163916-a377121e959e // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
Expand Down
3 changes: 3 additions & 0 deletions Wox/plugin/system/app/app_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ func (a *MacRetriever) GetExtraApps(ctx context.Context) ([]appInfo, error) {
if strings.HasPrefix(appPath, "/System/Library/Frameworks/") {
continue
}
if !strings.HasSuffix(appPath, ".app") {
continue
}

appPaths = append(appPaths, appPath)
}
Expand Down
2 changes: 2 additions & 0 deletions Wox/plugin/system/app/app_icons_darwin.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Wox/plugin/system/app/app_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"errors"
"fmt"
win "github.com/lxn/win"
"github.com/parsiya/golnk"
"image"
"image/color"
Expand Down

0 comments on commit 0eae472

Please sign in to comment.