Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
update deps and revert electron-builder change since theres issues wi…
Browse files Browse the repository at this point in the history
…th loading it on windows
  • Loading branch information
Lunarequest committed Dec 15, 2023
1 parent e0fdecd commit 6113197
Show file tree
Hide file tree
Showing 63 changed files with 391 additions and 392 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 3 additions & 4 deletions electron-builder.ts → electron-builder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Configuration } from "electron-builder";

const config: Configuration = {
/** @type electron-builder.Configuration */
const config = {
appId: "io.github.lunarequest.NightPDF",
productName: "NightPDF",
files: [
Expand Down Expand Up @@ -121,4 +120,4 @@ if (process.env.OUTPUTDIR === "1") {
}
}

export default config;
module.exports = config;
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"typecheck": "tsc --noEmit",
"build": "rimraf out && tsx ./build.mts",
"dev": "yarn typecheck && yarn build && DEBUG=1 electron .",
"dist": "NODE_ENV='production' NODE_OPTIONS='--max-old-space-size=4096' yarn build && NODE_ENV='production' NODE_OPTIONS='--max-old-space-size=4096' electron-builder --config electron-builder.ts",
"dist": "NODE_ENV='production' NODE_OPTIONS='--max-old-space-size=4096' yarn build && NODE_ENV='production' NODE_OPTIONS='--max-old-space-size=4096' electron-builder --config electron-builder.js",
"lint": "biome check .",
"format": "biome format . --write",
"ci": "biome ci .",
Expand All @@ -32,15 +32,15 @@
"@biomejs/biome": "^1.4.1",
"@types/copy": "^0.3.5",
"@types/figlet": "^1.5.8",
"@types/node": "^20.10.3",
"@types/node": "^20.10.4",
"@types/yargs": "^17.0.32",
"chalk": "^5.3.0",
"copy": "^0.3.2",
"cssnano": "^6.0.1",
"cssnano-preset-advanced": "^6.0.1",
"electron": "^27.1.3",
"electron-builder": "^24.9.3",
"esbuild": "^0.19.8",
"cssnano": "^6.0.2",
"cssnano-preset-advanced": "^6.0.2",
"electron": "^28.0.0",
"electron-builder": "^24.10.0",
"esbuild": "^0.19.9",
"esbuild-plugin-glob": "^2.2.3",
"figlet": "^1.7.0",
"husky": "^8.0.3",
Expand All @@ -49,7 +49,7 @@
"rimraf": "^5.0.5",
"sass": "^1.69.5",
"tsx": "^4.6.2",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
},
"dependencies": {
"electron-log": "^5.0.1",
Expand Down
Loading

0 comments on commit 6113197

Please sign in to comment.