Skip to content

Commit

Permalink
FIX: PyInstallerでビルドされているときのルートディレクトリ取得方法を修正 (VOICEVOX#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabonerune authored Jun 27, 2024
1 parent 94c261c commit 0fce2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voicevox_engine/utility/path_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def engine_root() -> Path:
# git レポジトリのルートを指している
root_dir = Path(__file__).parents[2]
else:
root_dir = Path(sys.argv[0]).parent
root_dir = Path(sys.executable).parent

return root_dir.resolve(strict=True)

Expand Down

0 comments on commit 0fce2df

Please sign in to comment.