Skip to content

Commit

Permalink
fix: 割れ窓(Typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Jan 31, 2025
1 parent a5c4239 commit 973d68f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineConfig((options) => {
: false;

// ref: electronの起動をスキップしてデバッグ起動を軽くする
const skipLahnchElectron =
const skipLaunchElectron =
mode === "test" || process.env.SKIP_LAUNCH_ELECTRON === "1";

return {
Expand Down Expand Up @@ -95,7 +95,7 @@ export default defineConfig((options) => {
// ref: https://github.com/electron-vite/vite-plugin-electron/pull/122
onstart: ({ startup }) => {
console.log("main process build is complete.");
if (!skipLahnchElectron) {
if (!skipLaunchElectron) {
void startup([".", "--no-sandbox"]);
}
},
Expand All @@ -120,7 +120,7 @@ export default defineConfig((options) => {
// ref: https://electron-vite.github.io/guide/preload-not-split.html
entry: "./backend/electron/preload.ts",
onstart({ reload }) {
if (!skipLahnchElectron) {
if (!skipLaunchElectron) {
reload();
}
},
Expand Down

0 comments on commit 973d68f

Please sign in to comment.