Add donate link and QR code in README
This commit is contained in:
parent
0b61529d61
commit
552e0afffd
|
@ -0,0 +1,56 @@
|
|||
## Release
|
||||
### Binary
|
||||
When you build release packages, please use `electron-builder`.
|
||||
|
||||
```bash
|
||||
# for linux
|
||||
$ npm run build:linux
|
||||
|
||||
# for mac
|
||||
# This command automatically loads the Developer ID Application certificate from your keychain.
|
||||
$ npm run build:mac
|
||||
```
|
||||
|
||||
### AppStore
|
||||
|
||||
Please prepare certificates on your Apple developer console. The following keys are required:
|
||||
|
||||
- Mac App Distribution: `3rd Party Mac Developer Application: NAME (TEAM_ID)`
|
||||
- Mac Installer Distribution: `3rd Party Mac Developer Installer: NAME (TEAM_ID)`
|
||||
|
||||
and register your KeyChain.
|
||||
|
||||
Then, create a Mac App ID like `org.whalebird.desktop`.
|
||||
|
||||
```bash
|
||||
$ npm run build:mas
|
||||
|
||||
# This command automatically loads the certificates from you keychain.
|
||||
$ ./appStore.sh
|
||||
```
|
||||
|
||||
After that, the `.pkg` file is created under `./packages`.
|
||||
|
||||
Please upload the `.pkg` to App Store using Application Loader in Xcode.
|
||||
|
||||
### Snapcraft
|
||||
|
||||
First, please prepare snapcraft command.
|
||||
|
||||
```bash
|
||||
$ brew install snapcraft
|
||||
```
|
||||
|
||||
And prepare docker environment which is used in snapcraft building.
|
||||
|
||||
Build app for linux.
|
||||
|
||||
```bash
|
||||
$ npm run build:linux
|
||||
```
|
||||
|
||||
And upload.
|
||||
|
||||
```bash
|
||||
$ snapcraft push build/whalebird_1.0.0_amd64.snap --release stable
|
||||
```
|
64
README.md
64
README.md
|
@ -34,6 +34,7 @@ Whalebird is a mastodon client for desktop application.
|
|||
<tr><td> Favourite the toot </td><td> <kbd>f</kbd> </td><td> <kbd>f</kbd> </td></tr>
|
||||
<tr><td> Open details of the toot </td><td> <kbd>o</kbd> </td><td> <kbd>o</kbd> </td></tr>
|
||||
<tr><td> Open account profile of the toot</td><td> <kbd>p</kbd> </td><td> <kbd>p</kbd> </td></tr>
|
||||
<tr><td> Close current page </td><td> <kbd>esc</kbd> </td><td> <kbd>esc</kbd> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
@ -99,62 +100,13 @@ $ npm run dev
|
|||
|
||||
If there is something unknown, please refer this pull request: https://github.com/h3poteto/whalebird-desktop/pull/502
|
||||
|
||||
## Release
|
||||
### Binary
|
||||
When you build release packages, please use `electron-builder`.
|
||||
|
||||
```bash
|
||||
# for linux
|
||||
$ npm run build:linux
|
||||
|
||||
# for mac
|
||||
# This command automatically loads the Developer ID Application certificate from your keychain.
|
||||
$ npm run build:mac
|
||||
```
|
||||
|
||||
### AppStore
|
||||
|
||||
Please prepare certificates on your Apple developer console. The following keys are required:
|
||||
|
||||
- Mac App Distribution: `3rd Party Mac Developer Application: NAME (TEAM_ID)`
|
||||
- Mac Installer Distribution: `3rd Party Mac Developer Installer: NAME (TEAM_ID)`
|
||||
|
||||
and register your KeyChain.
|
||||
|
||||
Then, create a Mac App ID like `org.whalebird.desktop`.
|
||||
|
||||
```bash
|
||||
$ npm run build:mas
|
||||
|
||||
# This command automatically loads the certificates from you keychain.
|
||||
$ ./appStore.sh
|
||||
```
|
||||
|
||||
After that, the `.pkg` file is created under `./packages`.
|
||||
|
||||
Please upload the `.pkg` to App Store using Application Loader in Xcode.
|
||||
|
||||
### Snapcraft
|
||||
|
||||
First, please prepare snapcraft command.
|
||||
|
||||
```bash
|
||||
$ brew install snapcraft
|
||||
```
|
||||
|
||||
And prepare docker environment which is used in snapcraft building.
|
||||
|
||||
Build app for linux.
|
||||
|
||||
```bash
|
||||
$ npm run build:linux
|
||||
```
|
||||
|
||||
And upload.
|
||||
|
||||
```bash
|
||||
$ snapcraft push build/whalebird_1.0.0_amd64.snap --release stable
|
||||
```
|
||||
|
||||
# License
|
||||
The software is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
# Donate
|
||||
I prepared Bitcoin Address.
|
||||
|
||||
![Bitcoin](qr.png)
|
||||
|
||||
`1EqB53JSWCQDG3NpKpvUyQPJs54e7MxE6z`
|
||||
|
|
Loading…
Reference in New Issue