Skip to content

Commit

Permalink
docs: ドキュメントを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Feb 8, 2025
1 parent 4eb2c27 commit 6560675
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ pnpm run electron:serve

# ビルド時に近い環境で実行
pnpm run electron:serve --mode production

# 引数を指定して実行
pnpm run electron:serve -- ...
```

音声合成エンジンのリポジトリはこちらです <https://github.com/VOICEVOX/voicevox_engine>
Expand Down Expand Up @@ -128,7 +131,7 @@ fork したリポジトリで Actions を ON にし、workflow_dispatch で`buil
pnpm run test:unit
pnpm run test-watch:unit # 監視モード
pnpm run test-ui:unit # VitestのUIを表示
pnpm run test:unit -- --update # スナップショットの更新
pnpm run test:unit --update # スナップショットの更新
```

> [!NOTE]
Expand All @@ -148,7 +151,7 @@ Electron の機能が不要な、UI や音声合成などの End to End テス
```bash
pnpm run test:browser-e2e
pnpm run test-watch:browser-e2e # 監視モード
pnpm run test-watch:browser-e2e -- --headed # テスト中の UI を表示
pnpm run test-watch:browser-e2e --headed # テスト中の UI を表示
pnpm run test-ui:browser-e2e # Playwright の UI を表示
```

Expand Down Expand Up @@ -216,7 +219,7 @@ pnpm run test-ui:storybook-vrt # Playwright の UI を表示
ローカル PC の OS に対応したもののみが更新されます。

```bash
pnpm run test:browser-e2e -- --update-snapshots
pnpm run test:browser-e2e --update-snapshots
```

### Electron End to End テスト
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default defineConfig((options) => {
onstart: ({ startup }) => {
console.log("main process build is complete.");
if (!skipLaunchElectron) {
// process.argvは["node", ".../vite.js", "--", その他引数]の形式
// ここのprocess.argvは["node", ".../vite.js", "--", その他引数]の形式で渡ってくる。
void startup([
".",
"--no-sandbox",
Expand Down

0 comments on commit 6560675

Please sign in to comment.