How to install

This commit is contained in:
Cutls 2018-12-16 23:01:25 +09:00 committed by GitHub
parent 205e1d3332
commit 0175038e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,28 +33,22 @@ The icon is provided under [Creative Commons BY-NC-SA](https://creativecommons.o
### Translation/翻訳
Crowdin project was started! Visit: https://crowdin.com/project/thedesk
Crowdin project is available! Visit: https://crowdin.com/project/thedesk
Crowdinから翻訳に参加してみませんか: https://crowdin.com/project/thedesk
## Component/構成
app:Raw files(you can download to modify or check)
app:そのままのファイル.ダウンロード→テスト用
desk.icns: If you build yourself on macOS, you can use this .icns file as icon.
desk.icns: macOS向けアイコン.セルフビルドにどうぞ.
## Requirement/環境
- Electron 3.0.10
- electron-dl
- Jimp
- font-manager
- itunes-nowplaying-mac(for macOS)
- node-notifier
- Ability to read unformated files!
- Electron 3.0.10(install yourself)
- electron-dl(in package.json)
- Jimp(in package.json)
- font-manager(in package.json)
- Python 2.x(install yourself)
- VisualC++(Windows)(install yourself)
- itunes-nowplaying-mac(for macOS)(in package.json)
- node-notifier(in package.json)
- Ability to read unformated files!(install yourself)
## Contributors/コントリビューター
@ -66,7 +60,23 @@ macOSビルダー
Misskey(misskey.xyz) application token is not in cutls/TheDesk
Misskey(misskey.xyz)のトークンは含まれておりません。
`git clone https://github.com/cutls/TheDesk`
`npm install electron -g`
`cd TheDesk/app`
`npm install`
`npm install --save-dev electron-rebuild`
Linux/macOS
`./node_modules/.bin/electron-rebuild`
Windows
`.\node_modules\.bin\electron-rebuild.cmd`
To install Python 2.x and Visual C++ for Windows, before running `npm install --save-dev electron-rebuild`
WindowsでPython 2.xやVisualC++を一発でインストールできるツールもあります(`npm install --save-dev electron-rebuild`の前に)
`npm install --global windows-build-tools`
日本語話者向けですが、macOSビルドにはXCodeが要るとの情報があります。([とねぢ](https://minohdon.jp/@toneji)氏談)
### electron-packager
Windows
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --win32metadata.CompanyName="TheDesk&Cutls.com" --win32metadata.FileDescription="TheDesk" --win32metadata.OriginalFilename="TheDesk" --win32metadata.InternalName="TheDesk" --win32metadata.ProductName="TheDesk" --platform=win32 --arch=all --electron-version=3.0.10 --icon=.\app\thedesk.ico --overwrite`
@ -81,6 +91,7 @@ Windows用のビルド設定はすべてpackage.jsonに記載しています。
To build TheDesk for Linux and macOS, edit package.json
Linux,macOS版をビルドするためにはpackage.jsonを編集してください。
## See also/詳しく
[TheDesk - マストドン日本語ウィキ](https://ja.mstdn.wiki/TheDesk)