-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
1. バージョン番号を上げてアーカイブビルドする | ||
2. dmg を作る | ||
```sh | ||
./bin/create_dmg.sh リリースアーカイブした.appのパス | ||
``` | ||
3. `appcast.xml`を作る | ||
```sh | ||
./bin/generate_appcast --account com.kyome.ShiftWindow . | ||
``` | ||
4. `appcast.xml`の`enclosure`タグの`url`を GitHub の Release 添付ファイルリンクに変更 | ||
```diff xml | ||
- <enclosure url="https://raw.githubusercontent.com/Kyome22/ShiftWindow/main/Installer.dmg" /> | ||
+ <enclosure url="https://github.com/Kyome22/ShiftWindow/releases/download/3.0.0/Installer.dmg" /> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" standalone="yes"?> | ||
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0"> | ||
<channel> | ||
<title>ShiftWindow</title> | ||
<item> | ||
<title>3.0</title> | ||
<pubDate>Thu, 07 Nov 2024 20:44:39 +0900</pubDate> | ||
<sparkle:version>3.0.0</sparkle:version> | ||
<sparkle:shortVersionString>3.0</sparkle:shortVersionString> | ||
<sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion> | ||
<enclosure url="https://github.com/Kyome22/ShiftWindow/releases/download/3.0.0/Installer.dmg" length="1767713" type="application/octet-stream" sparkle:edSignature="U9g1z9S6KdXEmImu101nHHs1T5no0tDj1aDMb/6N96st+za56imUljwRnc2imesll+0iBPhh8gkIqA4uQ+ABCw=="/> | ||
</item> | ||
</channel> | ||
</rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
## https://github.com/create-dmg/create-dmg | ||
|
||
create-dmg \ | ||
--icon-size 128 \ | ||
--text-size 16 \ | ||
--icon "ShiftWindow.app" 200 150 \ | ||
--app-drop-link 450 150 \ | ||
--window-pos 200 200 \ | ||
--window-size 650 376 \ | ||
--background bin/dmg_background.png \ | ||
Installer.dmg $1 |
This file was deleted.
Oops, something went wrong.