7070 - name : Generate checksums
7171 run : |
7272 cd build
73- shasum -a 256 iemsw .dmg > iemsw .dmg.sha256
74- cat iemsw .dmg.sha256
73+ shasum -a 256 ModSwitchIME .dmg > ModSwitchIME .dmg.sha256
74+ cat ModSwitchIME .dmg.sha256
7575
7676 - name : Generate release notes
7777 id : release_notes
@@ -97,17 +97,17 @@ jobs:
9797 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9898 with :
9999 tag_name : ${{ github.ref }}
100- release_name : iemsw v${{ steps.get_version.outputs.VERSION }}
100+ release_name : ModSwitchIME v${{ steps.get_version.outputs.VERSION }}
101101 body : |
102- ## iemsw v${{ steps.get_version.outputs.VERSION }}
102+ ## ModSwitchIME v${{ steps.get_version.outputs.VERSION }}
103103
104104 A macOS menu bar helper that switches between English input and native IME by pressing left/right ⌘ keys individually.
105105
106106 ### Installation
107107
108- 1. Download `iemsw .dmg` from the assets below
109- 2. Open the DMG file and drag iemsw .app to your Applications folder
110- 3. Launch iemsw and grant accessibility permissions when prompted
108+ 1. Download `ModSwitchIME .dmg` from the assets below
109+ 2. Open the DMG file and drag ModSwitchIME .app to your Applications folder
110+ 3. Launch ModSwitchIME and grant accessibility permissions when prompted
111111 4. The app will appear in your menu bar
112112
113113 ### Features
@@ -129,7 +129,7 @@ jobs:
129129
130130 ### Verification
131131
132- SHA256 checksum: See `iemsw .dmg.sha256` file in assets.
132+ SHA256 checksum: See `ModSwitchIME .dmg.sha256` file in assets.
133133 draft : false
134134 prerelease : false
135135
@@ -139,8 +139,8 @@ jobs:
139139 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140140 with :
141141 upload_url : ${{ steps.create_release.outputs.upload_url }}
142- asset_path : ./build/iemsw .dmg
143- asset_name : iemsw .dmg
142+ asset_path : ./build/ModSwitchIME .dmg
143+ asset_name : ModSwitchIME .dmg
144144 asset_content_type : application/octet-stream
145145
146146 - name : Upload checksum
@@ -149,8 +149,8 @@ jobs:
149149 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150150 with :
151151 upload_url : ${{ steps.create_release.outputs.upload_url }}
152- asset_path : ./build/iemsw .dmg.sha256
153- asset_name : iemsw .dmg.sha256
152+ asset_path : ./build/ModSwitchIME .dmg.sha256
153+ asset_name : ModSwitchIME .dmg.sha256
154154 asset_content_type : text/plain
155155
156156 - name : Cleanup keychain
@@ -172,29 +172,29 @@ jobs:
172172 id : get_info
173173 run : |
174174 VERSION=${GITHUB_REF#refs/tags/v}
175- DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/iemsw .dmg"
175+ DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/ModSwitchIME .dmg"
176176 echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
177177 echo "DOWNLOAD_URL=$DOWNLOAD_URL" >> $GITHUB_OUTPUT
178178
179179 - name : Download and get SHA256
180180 run : |
181- curl -L "${{ steps.get_info.outputs.DOWNLOAD_URL }}" -o iemsw .dmg
182- SHA256=$(shasum -a 256 iemsw .dmg | cut -d' ' -f1)
181+ curl -L "${{ steps.get_info.outputs.DOWNLOAD_URL }}" -o ModSwitchIME .dmg
182+ SHA256=$(shasum -a 256 ModSwitchIME .dmg | cut -d' ' -f1)
183183 echo "SHA256=$SHA256" >> $GITHUB_ENV
184184
185185 - name : Create Homebrew Cask PR
186186 uses : peter-evans/create-pull-request@v5
187187 with :
188188 token : ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
189189 push-to-fork : ${{ github.repository_owner }}/homebrew-cask
190- branch : update-iemsw -${{ steps.get_info.outputs.VERSION }}
191- title : ' iemsw : update to ${{ steps.get_info.outputs.VERSION }}'
190+ branch : update-modswitchime -${{ steps.get_info.outputs.VERSION }}
191+ title : ' ModSwitchIME : update to ${{ steps.get_info.outputs.VERSION }}'
192192 body : |
193- Update iemsw to version ${{ steps.get_info.outputs.VERSION }}
193+ Update ModSwitchIME to version ${{ steps.get_info.outputs.VERSION }}
194194
195195 - Version: ${{ steps.get_info.outputs.VERSION }}
196196 - Download URL: ${{ steps.get_info.outputs.DOWNLOAD_URL }}
197197 - SHA256: ${{ env.SHA256 }}
198198
199199 Generated automatically by GitHub Actions.
200- commit-message : ' iemsw : update to ${{ steps.get_info.outputs.VERSION }}'
200+ commit-message : ' ModSwitchIME : update to ${{ steps.get_info.outputs.VERSION }}'
0 commit comments