mac electron
鲸鸟 (Whalebird)
Whalebird is a mastodon client for desktop application. If you want to use this app, please install
Whalebird是桌面应用程序的乳齿动物客户端。 如果您想使用这个程序,请安装
Mac App Store: https://itunes.apple.com/us/app/whalebird/id1378283354
Mac App Store: https : //itunes.apple.com/us/app/whalebird/id1378283354
snapcraft: https://snapcraft.io/whalebird
snapcraft: https ://snapcraft.io/whalebird
or please download binary from release page.
或请从发布页面下载二进制文件。
![Whalebird](https://i-blog.csdnimg.cn/blog_migrate/4bec526df424b6a260f6b896ea58af6d.gif)
特征 (Feature)
An interface like slack
像松弛一样的界面
Notify to desktop
通知桌面
Streaming
流媒体
Many keyboard shortcuts
许多键盘快捷键
Manage multiple accounts
管理多个帐户
捷径 (Shortcuts)
Mac | Linux, Windows | |
---|---|---|
Toot, Reply | Cmd + Enter | Ctrl + Enter |
Change accounts | Cmd + 1, 2, 3... | Ctrl + 1, 2, 3... |
Jump to another timeline | Cmd + k | Ctrl + k |
Open new toot window | Cmd + n | Ctrl + n |
苹果电脑 | Linux,Windows | |
---|---|---|
嘟嘟,回复 | Cmd + Enter | Ctrl + Enter |
变更账户 | Cmd + 1,2,3 ... | Ctrl + 1,2,3 ... |
跳到另一个时间轴 | Cmd + k | Ctrl + k |
打开新的嘟嘟声窗口 | Cmd + n | Ctrl + n |
安装 (Install)
苹果电脑 (Mac)
You can install the app from Mac App Store: https://itunes.apple.com/us/app/whalebird/id1378283354
您可以从Mac App Store安装该应用程序: https : //itunes.apple.com/us/app/whalebird/id1378283354
Or you can download .dmg
from release page.
或者,您可以从发布页面下载.dmg
。
的Linux (Linux)
You can download .deb
or .rpm
from release page. If you do not want to use package manager, please download .tar.bz2
file and docompress it.
您可以从发行版页面下载.deb
或.rpm
。 如果您不想使用包管理器,请下载.tar.bz2
文件并进行压缩。
Or please install the app from snapcraft.io: https://snapcraft.io/whalebird
或者,请从snapcraft.io安装该应用程序: https ://snapcraft.io/whalebird
视窗 (Windows)
You can download .exe
from release page.
您可以从发行页面下载.exe
。
发展历程 (Development)
# clone this repository
$ git clone https://github.com/h3poteto/whalebird-desktop.git
$ cd whalebird-desktop
# install dependencies
$ npm install
# serve with hot reload at localhost:9080
$ npm run dev
释放 (Release)
二元 (Binary)
When you build release packages, please use electron-builder
.
在构建发行包时,请使用electron-builder
。
# 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:
请在您的Apple开发人员控制台上准备证书。 需要以下密钥:
Mac App Distribution:
3rd Party Mac Developer Application: NAME (TEAM_ID)
Mac App发行版:
3rd Party Mac Developer Application: NAME (TEAM_ID)
Mac Installer Distribution:
3rd Party Mac Developer Installer: NAME (TEAM_ID)
Mac Installer发行版:
3rd Party Mac Developer Installer: NAME (TEAM_ID)
and register your KeyChain.
并注册您的KeyChain。
Then, create a Mac App ID like org.whalebird.desktop
.
然后,创建一个Mac应用程序ID,例如org.whalebird.desktop
。
$ npm run build:mas
# This command automatically loads the certificates from you keychain.
$ ./appStore.sh
After that, the .pkg
file is created under ./packages
.
之后,将在./packages
下创建.pkg
文件。
Please upload the .pkg
to App Store using Application Loader in Xcode.
请使用Xcode中的Application Loader将.pkg
上传到App Store。
Snapcraft (Snapcraft)
First, please prepare snapcraft command.
首先,请准备snapcraft命令。
$ brew install snapcraft
And prepare docker environment which is used in snapcraft building.
并准备用于snapcraft构建的docker环境。
Build app for linux.
为Linux构建应用程序。
$ npm run build:linux
And upload.
并上传。
$ snapcraft push build/whalebird_1.0.0_amd64.snap --release stable
翻译自: https://vuejsexamples.com/an-electron-based-mastodon-client-for-windows-mac-and-linux/
mac electron