Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux用インストーラ: vvprojファイルの関連付けをする #585

Merged
merged 7 commits into from
Dec 13, 2021

Conversation

aoirint
Copy link
Member

@aoirint aoirint commented Dec 13, 2021

内容

Linux用インストーラに、vvprojファイルをVOICEVOXに関連付けする処理を追加します。

  • voicevox.desktopファイルの実行コマンドに%Uを追加
    • VOICEVOXの関連付け設定ができるようになる
  • vue.config.jsのLinux用ビルド設定にmimeTypesを追加
    • voicevox.desktopファイルにMimeTypeapplication/x-voicevoxが書き出される
      • ローカルビルドして確認した
  • インストール時にMimeTypeapplication/x-voicevoxと拡張子vvprojの関連付け設定ファイルを、Linuxの設定ディレクトリに出力
    • デフォルトのvvproj関連付け先がVOICEVOXになる

関連 Issue

@eggplants さんありがとうございます!

スクリーンショット・動画など

  • 環境: Ubuntu 20.04

ファイルエクスプローラNautilus上の表示(ダブルクリック実行可)

Screenshot from 2021-12-13 17-24-17

関連付けUIの表示(デフォルト値)

Screenshot from 2021-12-13 17-17-28

その他

@aoirint aoirint marked this pull request as ready for review December 13, 2021 09:36
@Hiroshiba
Copy link
Member

もしよかったら @eggplants さんからも何かコメントいただけると!

@eggplants
Copy link
Contributor

いいと思います。

@Hiroshiba Hiroshiba self-requested a review December 13, 2021 23:34
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@Hiroshiba Hiroshiba merged commit f4c5b13 into VOICEVOX:main Dec 13, 2021
@aoirint aoirint deleted the patch-linux-vvproj-assoc branch February 28, 2022 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux版: vvprojファイルの関連付けをする
3 participants