diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml index 00ae127..e6c5888 100644 --- a/.github/workflows/documents.yml +++ b/.github/workflows/documents.yml @@ -29,7 +29,7 @@ jobs: # copy and replace string index.md file - name: Copy and replace string index.md file - run: cp ../README.md docs/src/index.md + run: cp ../README.md ./src/index.md - name: Copy image asset (logo) run: cp ../src/renderer/public/images/vutron-logo.webp ./src/public - name: Copy image asset (sample) diff --git a/docs/src/main-and-renderer-process.md b/docs/src/main-and-renderer-process.md index d75f9a2..9869c9a 100644 --- a/docs/src/main-and-renderer-process.md +++ b/docs/src/main-and-renderer-process.md @@ -12,7 +12,7 @@ For secure script execution, it is recommended that the main process executes th For more information on this, see the following articles: https://www.electronjs.org/docs/latest/tutorial/ipc -### How to run NodeJS on a renderer +### How to run NodeJS on a renderer? If you want to skip the security issues and use NodeJS scripts in your renderer, you need to set `nodeIntegration` to `true` in your `vite.config.ts` file.