Skip to content

Commit 667ae93

Browse files
committed
Add plugin store auto updater
1 parent bbcd959 commit 667ae93

File tree

7 files changed

+272
-302
lines changed

7 files changed

+272
-302
lines changed

.github/workflows/plugin.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- v2
7+
schedule:
8+
- cron: "0 */3 * * *"
9+
10+
jobs:
11+
build-macos-arm64:
12+
runs-on: [ self-hosted, macOS, ARM64 ]
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Check plugin updates
16+
run: just ci_plugin
17+
- name: Create Pull Request
18+
uses: peter-evans/create-pull-request@v5
19+
with:
20+
add-paths: plugin-store.json

.gitignore

+2-300
Original file line numberDiff line numberDiff line change
@@ -1,302 +1,3 @@
1-
## https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
2-
## Ignore Visual Studio temporary files, build results, and
3-
## files generated by popular Visual Studio add-ons.
4-
5-
# User-specific files
6-
*.suo
7-
*.user
8-
*.userosscache
9-
*.sln.docstates
10-
11-
# User-specific files (MonoDevelop/Xamarin Studio)
12-
*.userprefs
13-
14-
# Build results
15-
[Dd]ebug/
16-
[Dd]ebugPublic/
17-
[Rr]elease/
18-
[Rr]eleases/
19-
x64/
20-
x86/
21-
bld/
22-
[Bb]in/
23-
[Oo]bj/
24-
[Ll]og/
25-
26-
# Visual Studio 2015 cache/options directory
27-
.vs/
28-
# Uncomment if you have tasks that create the project's static files in wwwroot
29-
#wwwroot/
30-
31-
# MSTest test Results
32-
[Tt]est[Rr]esult*/
33-
[Bb]uild[Ll]og.*
34-
35-
# NUNIT
36-
*.VisualState.xml
37-
TestResult.xml
38-
39-
# Build Results of an ATL Project
40-
[Dd]ebugPS/
41-
[Rr]eleasePS/
42-
dlldata.c
43-
44-
# DNX
45-
project.lock.json
46-
artifacts/
47-
48-
*_i.c
49-
*_p.c
50-
*_i.h
51-
*.ilk
52-
*.meta
53-
*.obj
54-
*.pch
55-
*.pdb
56-
*.pgc
57-
*.pgd
58-
*.rsp
59-
*.sbr
60-
*.tlb
61-
*.tli
62-
*.tlh
63-
*.tmp
64-
*.tmp_proj
65-
*.log
66-
*.vspscc
67-
*.vssscc
68-
.builds
69-
*.pidb
70-
*.svclog
71-
*.scc
72-
73-
# Chutzpah Test files
74-
_Chutzpah*
75-
76-
# Visual C++ cache files
77-
ipch/
78-
*.aps
79-
*.ncb
80-
*.opendb
81-
*.opensdf
82-
*.sdf
83-
*.cachefile
84-
85-
# Visual Studio profiler
86-
*.psess
87-
*.vsp
88-
*.vspx
89-
*.sap
90-
91-
# TFS 2012 Local Workspace
92-
$tf/
93-
94-
# Guidance Automation Toolkit
95-
*.gpState
96-
97-
# ReSharper is a .NET coding add-in
98-
_ReSharper*/
99-
*.[Rr]e[Ss]harper
100-
*.DotSettings.user
101-
102-
# JustCode is a .NET coding add-in
103-
.JustCode
104-
105-
# TeamCity is a build add-in
106-
_TeamCity*
107-
108-
# DotCover is a Code Coverage Tool
109-
*.dotCover
110-
111-
# NCrunch
112-
_NCrunch_*
113-
.*crunch*.local.xml
114-
nCrunchTemp_*
115-
116-
# MightyMoose
117-
*.mm.*
118-
AutoTest.Net/
119-
120-
# Web workbench (sass)
121-
.sass-cache/
122-
123-
# Installshield output folder
124-
[Ee]xpress/
125-
126-
# DocProject is a documentation generator add-in
127-
DocProject/buildhelp/
128-
DocProject/Help/*.HxT
129-
DocProject/Help/*.HxC
130-
DocProject/Help/*.hhc
131-
DocProject/Help/*.hhk
132-
DocProject/Help/*.hhp
133-
DocProject/Help/Html2
134-
DocProject/Help/html
135-
136-
# Click-Once directory
137-
publish/
138-
139-
# Publish Web Output
140-
*.[Pp]ublish.xml
141-
*.azurePubxml
142-
# TODO: Comment the next line if you want to checkin your web deploy settings
143-
# but database connection strings (with potential passwords) will be unencrypted
144-
*.pubxml
145-
*.publishproj
146-
147-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
148-
# checkin your Azure Web App publish settings, but sensitive information contained
149-
# in these scripts will be unencrypted
150-
PublishScripts/
151-
152-
# NuGet Packages
153-
*.nupkg
154-
# The packages folder can be ignored because of Package Restore
155-
**/packages/*
156-
# except build/, which is used as an MSBuild target.
157-
!**/packages/build/
158-
# Uncomment if necessary however generally it will be regenerated when needed
159-
#!**/packages/repositories.config
160-
# NuGet v3's project.json files produces more ignoreable files
161-
*.nuget.props
162-
*.nuget.targets
163-
164-
# Microsoft Azure Build Output
165-
csx/
166-
*.build.csdef
167-
168-
# Microsoft Azure Emulator
169-
ecf/
170-
rcf/
171-
172-
# Windows Store app package directories and files
173-
AppPackages/
174-
BundleArtifacts/
175-
Package.StoreAssociation.xml
176-
_pkginfo.txt
177-
178-
# Visual Studio cache files
179-
# files ending in .cache can be ignored
180-
*.[Cc]ache
181-
# but keep track of directories ending in .cache
182-
!*.[Cc]ache/
183-
184-
# Others
185-
ClientBin/
186-
~$*
187-
*~
188-
*.dbmdl
189-
*.dbproj.schemaview
190-
*.pfx
191-
*.publishsettings
192-
node_modules/
193-
orleans.codegen.cs
194-
195-
# Since there are multiple workflows, uncomment next line to ignore bower_components
196-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
197-
#bower_components/
198-
199-
# RIA/Silverlight projects
200-
Generated_Code/
201-
202-
# Backup & report files from converting an old project file
203-
# to a newer Visual Studio version. Backup files are not needed,
204-
# because we have git ;-)
205-
_UpgradeReport_Files/
206-
Backup*/
207-
UpgradeLog*.XML
208-
UpgradeLog*.htm
209-
210-
# SQL Server files
211-
*.mdf
212-
*.ldf
213-
214-
# Business Intelligence projects
215-
*.rdl.data
216-
*.bim.layout
217-
*.bim_*.settings
218-
219-
# Microsoft Fakes
220-
FakesAssemblies/
221-
222-
# GhostDoc plugin setting file
223-
*.GhostDoc.xml
224-
225-
# Node.js Tools for Visual Studio
226-
.ntvs_analysis.dat
227-
228-
# Visual Studio 6 build log
229-
*.plg
230-
231-
# Visual Studio 6 workspace options file
232-
*.opt
233-
234-
# Visual Studio LightSwitch build output
235-
**/*.HTMLClient/GeneratedArtifacts
236-
**/*.DesktopClient/GeneratedArtifacts
237-
**/*.DesktopClient/ModelManifest.xml
238-
**/*.Server/GeneratedArtifacts
239-
**/*.Server/ModelManifest.xml
240-
_Pvt_Extensions
241-
242-
# Paket dependency manager
243-
.paket/paket.exe
244-
paket-files/
245-
246-
# FAKE - F# Make
247-
.fake/
248-
249-
# JetBrains Rider
250-
.idea/
251-
*.sln.iml
252-
253-
## https://github.com/github/gitignore/blob/master/C%2B%2B.gitignore
254-
## C++
255-
256-
# Compiled Object files
257-
*.slo
258-
*.lo
259-
*.o
260-
*.obj
261-
262-
# Precompiled Headers
263-
*.gch
264-
*.pch
265-
266-
# Compiled Dynamic libraries
267-
*.so
268-
*.dylib
269-
*.dll
270-
271-
# Fortran module files
272-
*.mod
273-
274-
# Compiled Static libraries
275-
*.lai
276-
*.la
277-
*.a
278-
*.lib
279-
280-
# Executables
281-
*.exe
282-
*.out
283-
284-
# New to Visual Studio
285-
*.VC.db
286-
287-
## Wox specific
288-
Output/*
289-
/Python.Runtime.dll
290-
Thumbs.db
291-
RELEASES
292-
293-
294-
*.sublime-*
295-
*.dgml
296-
migrateToAutomaticPackageRestore.ps1
297-
*.pyd
298-
*.pyc
299-
*/pinyindb/*
3001
*.diagsession
3012
Output-Performance.txt
3023
*.diff
@@ -312,4 +13,5 @@ Wox/resource/ui/wox
31213
Plugins/Wox.Plugin.Chatgpt/dist/
31314
Wox/resource/ui/react/
31415
Wox/resource/ui/electron/
315-
Wox.UI.React/dist/
16+
Wox.UI.React/dist/
17+
node_modules/

CI/go.mod

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
module woxci
2+
3+
go 1.21.0
4+
5+
require github.com/tidwall/gjson v1.17.0
6+
7+
require (
8+
github.com/Masterminds/semver/v3 v3.2.1 // indirect
9+
github.com/andybalholm/brotli v1.0.5 // indirect
10+
github.com/cloudflare/circl v1.3.3 // indirect
11+
github.com/gaukas/godicttls v0.0.4 // indirect
12+
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
13+
github.com/golang/mock v1.6.0 // indirect
14+
github.com/google/pprof v0.0.0-20230901174712-0191c66da455 // indirect
15+
github.com/hashicorp/errwrap v1.1.0 // indirect
16+
github.com/hashicorp/go-multierror v1.1.1 // indirect
17+
github.com/imroc/req/v3 v3.42.2 // indirect
18+
github.com/klauspost/compress v1.16.7 // indirect
19+
github.com/onsi/ginkgo/v2 v2.12.0 // indirect
20+
github.com/quic-go/qpack v0.4.0 // indirect
21+
github.com/quic-go/qtls-go1-20 v0.3.3 // indirect
22+
github.com/quic-go/quic-go v0.38.1 // indirect
23+
github.com/refraction-networking/utls v1.5.3 // indirect
24+
github.com/tidwall/match v1.1.1 // indirect
25+
github.com/tidwall/pretty v1.2.0 // indirect
26+
golang.org/x/crypto v0.12.0 // indirect
27+
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect
28+
golang.org/x/mod v0.12.0 // indirect
29+
golang.org/x/net v0.14.0 // indirect
30+
golang.org/x/sys v0.12.0 // indirect
31+
golang.org/x/text v0.13.0 // indirect
32+
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect
33+
)

0 commit comments

Comments
 (0)