diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e8ad9eb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Create Archive +on: + push: + tags: + - '*' +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Archive Release + uses: thedoctor0/zip-release@main + with: + type: 'zip' + filename: 'Monokakido.popclipextz' + exclusions: 'image.gif README.md' + - name: Upload Release + uses: ncipollo/release-action@v1 + with: + artifacts: "Monokakido.popclipextz" + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Monokakido.popclipext/Config.plist b/Monokakido.popclipext/Config.plist new file mode 100644 index 0000000..70b7033 --- /dev/null +++ b/Monokakido.popclipext/Config.plist @@ -0,0 +1,38 @@ + + + + + Actions + + + icon + circle 物 + Shell Script File + monokakido.sh + Title + 物書堂 + + + Apps + + + Bundle Identifiers + + jp.monokakido.Dictionaries + + Check Installed + + Link + https://monokakido.jp + Name + 物書堂 + + + Extension Description + Dictionary lookup using Monokakido. + Extension Identifier + com.github.sihvase.popclip.extension.monokakido + Extension Name + 物書堂 + + diff --git a/Monokakido.popclipext/monokakido.sh b/Monokakido.popclipext/monokakido.sh new file mode 100644 index 0000000..bebc96b --- /dev/null +++ b/Monokakido.popclipext/monokakido.sh @@ -0,0 +1 @@ +open "mkdictionaries://?text=$POPCLIP_URLENCODED_TEXT" diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e13dd5 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +物書堂 PopClip Extension +==== + +PopClipの物書堂Extensionです + +![image](./image.gif) + diff --git a/image.gif b/image.gif new file mode 100644 index 0000000..e60e3cf Binary files /dev/null and b/image.gif differ