Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichi24 committed Apr 3, 2024
1 parent e3e3d3f commit 78a9c4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"rebuild:node": "cross-env BUILD_MODE=node tsx scripts/rebuild-dev",
"rebuild:electron": "cross-env BUILD_MODE=electron tsx scripts/rebuild-dev",
"rebuild:initial": "cross-env BUILD_MODE=initial tsx scripts/rebuild-dev",
"build:package-json": "tsx scripts/make-production-pakcage-json.ts",
"clean:release": "node -e \"require(\\\"fs\\\").rmSync(\\\"release\\\", { recursive: true, force: true });\"",
"build:package-json": "tsx scripts/make-production-package-json.ts",
"clean:release": "node -e \"require('fs').rmSync('release', { recursive: true, force: true });\"",
"encode:base64": "node -e \"const fs = require('fs'); const path = require('path'); const filePath = process.argv[1]; if (!filePath) { console.error('Please provide a file path.'); process.exit(1); } const fileContents = fs.readFileSync(path.resolve(filePath)); const encodedContents = fileContents.toString('base64'); fs.writeFileSync('encoded_p12.txt', encodedContents); console.log('.p12 file encoded in base64 and saved to encoded_p12.txt');\"",
"postinstall": "yarn rebuild:initial"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "tsc && tsx scripts/build.ts && yarn copy:assets",
"build:debug": "tsc && cross-env NODE_ENV=debug tsx scripts/build.ts",
"build:watch": "cross-env ESBUILD_WATCH=true tsx scripts/build.ts",
"copy:assets": "node -e \"const fs = require(\\\"fs\\\"); const path = require(\\\"path\\\"); const source = path.join(\\\"src\\\", \\\"assets\\\"); const dest = path.join(\\\"dist\\\", \\\"assets\\\"); fs.cpSync(source, dest, { recursive: true }); \"",
"copy:assets": "node -e \"const fs = require('fs'); const path = require('path'); const source = path.join('src', 'assets'); const dest = path.join('dist', 'assets'); fs.cpSync(source, dest, { recursive: true }); \"",
"electron:start": "electron dist/index.js",
"electron:watch": "export NODE_OPTIONS='--experimental-import-meta-resolve' && electron dist/index.js"
},
Expand Down

0 comments on commit 78a9c4c

Please sign in to comment.