Skip to content

Conversation

@sevenc-nanashi
Copy link
Member

@sevenc-nanashi sevenc-nanashi commented Nov 3, 2023

内容

警告が出ていた依存を更新します。0 vulnerabilitiesまで減らしました。
ちなみにこのアプデでelectron-builderの拡張子割り当てで日本語が使えるようになってたりelectron-builder.config.tsにできたりするはずです

関連 Issue

(なし)

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

image

その他

(なし)

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner November 3, 2023 07:52
@sevenc-nanashi sevenc-nanashi requested review from y-chan and removed request for a team November 3, 2023 07:52
@sevenc-nanashi sevenc-nanashi marked this pull request as draft November 3, 2023 07:54
@sevenc-nanashi sevenc-nanashi marked this pull request as ready for review November 3, 2023 08:11
Comment on lines +98 to +105
const getMenuBarHotkey = (rawLabel: string) => {
const label = hotkeyActionSchema.safeParse(rawLabel);
if (!label.success) {
return "";
}
const hotkey = hotkeySettingsMap.value.get(label.data);
if (hotkey == undefined) {
Copy link
Member Author

Choose a reason for hiding this comment

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

zodのバージョンが上がった関係(多分)で型が厳しくなっていたので良い感じに修正しました。

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.

immerをダウングレードした旨のコミットがあったのでちょっと調べてみたのですが、解決できるかもでした。
今回のPRでは不要そうですが、次機会があったときに思い出せるようメモっておこうかなと!

import { enablePatches as enablePatchesImpl } from "immer/src/plugins/patches";のとこでimmer/src/plugins/patchesがなくてこける感じなんですね。

わかんないけど、↓で行けそうでした。

import {enablePatches} from "immer"
enablePatches()

https://immerjs.github.io/immer/patches/

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!!!

ビルドが回るか見守ってみたいと思います!
たぶんこちら https://github.com/VOICEVOX/voicevox/actions/runs/6747476440

@Hiroshiba Hiroshiba merged commit 9249b70 into VOICEVOX:main Nov 3, 2023
@Hiroshiba Hiroshiba removed the request for review from y-chan November 3, 2023 16:08
@Hiroshiba
Copy link
Member

ビルド完了済みのを動かしてみた感じ、レンダラーが動かない感じでした 😇
https://github.com/VOICEVOX/voicevox/releases/tag/0.15.0-dev

ログも特に吐かれてないので、どこが原因なのかパッと分かりませんでした。
(ウィンドウはできるけどバツボタンが表示されないのでコンソールから起動した方がいいかも)

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.

2 participants