-
Notifications
You must be signed in to change notification settings - Fork 309
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
refactor: extractVvpp周りのTODOを解決 #2499
Conversation
🚀 プレビュー用ページを作成しました 🚀 更新時点でのコミットハッシュ: |
// https://www.garykessler.net/library/file_sigs.html#:~:text=7-zip%20compressed%20file | ||
const SEVEN_ZIP_MAGIC_NUMBER = Buffer.from([ | ||
0x37, 0x7a, 0xbc, 0xaf, 0x27, 0x1c, | ||
]); | ||
|
||
const ZIP_MAGIC_NUMBER = Buffer.from([0x50, 0x4b, 0x03, 0x04]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
スコープは短いほど良いので関数内に移動・・・
というよりこれは単純に場所が近いほうがわかりやすいからというのが大きそう。
{ | ||
vvppLikeFilePath: vvppPath, | ||
vvppEngineDir: this.vvppEngineDir, | ||
tmpDir: app.getPath("temp"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vvpppを結合したものができるファイル、やっぱりelectronのtempディレクトリに置くようにしました。
これが一番明確だなぁと。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sevenc-nanashi よかったらまたレビューを・・・!!
ちなみにメンションしなくてもReviewers
への追加だけで良かったりしますか・・・? 👀
Reviewer追加でもGitHub Mobileの通知とかは来ますね。 |
あっなるほどです!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
良さそう。
レビューありがとうございます、マージします! |
内容
で後回しにしたTODO系を片付けました。
その他