commit
2e1c076b5f
31
README.md
31
README.md
|
@ -74,14 +74,33 @@ iTunes NowPlayingにアルバムアートワークを付けてくれた人
|
||||||
|
|
||||||
Misskey(misskey.xyz) application token is not in cutls/TheDesk
|
Misskey(misskey.xyz) application token is not in cutls/TheDesk
|
||||||
Misskey(misskey.xyz)のトークンは含まれておりません。
|
Misskey(misskey.xyz)のトークンは含まれておりません。
|
||||||
`git clone https://github.com/cutls/TheDesk`
|
|
||||||
`npm install electron -g`
|
```sh
|
||||||
`cd TheDesk/app`
|
git clone https://github.com/cutls/TheDesk
|
||||||
`npm install`
|
cd TheDesk/app
|
||||||
|
npm install
|
||||||
|
npm install --only=dev
|
||||||
|
```
|
||||||
|
|
||||||
### electron-builder(推奨)
|
### electron-builder(推奨)
|
||||||
`electron-builder --target`
|
Use npm scripts.
|
||||||
`target`は`win`か`linux`か`mac`を指定してください。
|
npm scriptsを利用します
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Build for current platform
|
||||||
|
# 実行している環境向けにビルド
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
# Select build target
|
||||||
|
# ターゲットを指定してビルド
|
||||||
|
## Windows
|
||||||
|
npm run build:win
|
||||||
|
|
||||||
|
## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS)
|
||||||
|
## macOS向けのビルドにはmacOSで実行する必要があるためこのコマンドではビルドされません
|
||||||
|
npm run build:all
|
||||||
|
```
|
||||||
|
|
||||||
Config is all on package.json
|
Config is all on package.json
|
||||||
ビルド設定はすべてpackage.jsonに記載しています。
|
ビルド設定はすべてpackage.jsonに記載しています。
|
||||||
|
|
||||||
|
|
1730
app/package-lock.json
generated
1730
app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"dist": "build --linux snap",
|
"dist": "build --linux snap",
|
||||||
|
"build": "electron-builder",
|
||||||
"build:all": "electron-builder --win --linux",
|
"build:all": "electron-builder --win --linux",
|
||||||
"build:win": "electron-builder --win"
|
"build:win": "electron-builder --win"
|
||||||
},
|
},
|
||||||
|
@ -98,7 +99,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^4.1.4",
|
"electron": "^4.1.4",
|
||||||
"electron-packager": "^13.1.1",
|
"electron-builder": "^20.39.0"
|
||||||
"electron-rebuild": "^1.8.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user