Skip to content

Commit

Permalink
remive usage of asset for package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Nov 10, 2024
1 parent 3f04591 commit 51c124c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion electron/app/main/Services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Service, ServiceStatus, type ServiceConfig } from "./Service"
import { Logger } from "./Logger"
import { dataPath, resourceBinary } from "./Resources"
import path from "path"
import pkg from "../../../package.json" assert { type: "json" }
import pkg from "../../../package.json"
import fs from "fs"
import process from "node:process"
import { fileURLToPath } from "url"
Expand Down
2 changes: 1 addition & 1 deletion electron/app/main/Utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg from "../../../package.json" assert { type: "json" }
import pkg from "../../../package.json"
import portfinder from "portfinder"
import child_process, { type SpawnOptions } from "node:child_process"
import fs from "fs"
Expand Down
2 changes: 1 addition & 1 deletion electron/app/main/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { builtinModules } from "module"
import { defineConfig } from "vite"
import pkg from "../../../package.json" assert { type: "json" }
import pkg from "../../../package.json"

export default defineConfig({
root: __dirname,
Expand Down
2 changes: 1 addition & 1 deletion electron/app/preload/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { join } from "path"
import { builtinModules } from "module"
import { defineConfig } from "vite"
import pkg from "../../../package.json" assert { type: "json" }
import pkg from "../../../package.json"

export default defineConfig({
root: __dirname,
Expand Down

0 comments on commit 51c124c

Please sign in to comment.