Skip to content

Commit

Permalink
escape double quotes for ignore command
Browse files Browse the repository at this point in the history
why does windows command prompt do this

please work
  • Loading branch information
JovannMC committed Aug 20, 2024
1 parent d1537a3 commit 92bba12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
],
"main": "dist/main.js",
"scripts": {
"start": "npm run preload && electron .",
"start": "npm run preload && cross-env DEVELOPMENT=true && electron .",
"dev": "cross-env DEVELOPMENT=true && tsc && npm run copy-files && electron .",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out='build/' --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore='^/(src|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$'",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out=build/ --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore=\"^/(src|docs|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$\"",
"preload": "npx @electron/rebuild && npx del-cli dist/ && tsc && npm run copy-files",
"copy-files": "npx copyfiles -u 1 \"src/**/*.js\" \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.ico\" \"src/**/*.png\" \"src/**/*.webp\" \"src/**/*.webm\" \"src/**/*.svg\" \"src/**/*.fbx\" src/languages/* dist/",
"build-bulma": "npx sass --watch ./src/static/css/index.scss ./src/static/css/index.css",
Expand Down

0 comments on commit 92bba12

Please sign in to comment.