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

EditorHome.vueとpreload.tsで使われているfs、pathモジュールをメインに移してnodeitegrationをfalseに #1042

Merged
merged 234 commits into from
Dec 18, 2022

Conversation

madosuki
Copy link
Contributor

@madosuki madosuki commented Dec 13, 2022

内容

レンダラーでfs、pathが使われている箇所を単純にメイン側で実行するように置き換えただけですが、非同期になるため、getterで実装されていたPROJECT_NAMEGET_PROJECT_NAME actionに置き換えています。
それに伴ってタイトルテキスト生成周りが若干野暮ったくなりました。

sandboxをtrueにしても特に問題無い感じでしたがとりあえずfalseにしてあります。

関連 Issue

close #1017

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

その他

src/store/utility.ts Outdated Show resolved Hide resolved
src/views/EditorHome.vue Outdated Show resolved Hide resolved
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 requested a review from MT224244 December 17, 2022 18:57
Copy link
Contributor

@MT224244 MT224244 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 c4ce68d into VOICEVOX:main Dec 18, 2022
@madosuki madosuki deleted the move_fs_and_path_to_main_process branch December 27, 2022 01:31
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.

nodeIntegrationを無効にする&sandbox=trueにする
4 participants