Skip to content

Commit

Permalink
changed models path
Browse files Browse the repository at this point in the history
  • Loading branch information
bhattaraijay05 committed May 5, 2023
1 parent 7f5d34a commit 679642e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type { ForgeConfig } from "@electron-forge/shared-types";
import * as dotenv from "dotenv";
import { mainConfig } from "./webpack.main.config";
import { rendererConfig } from "./webpack.renderer.config";

dotenv.config();

const config: ForgeConfig = {
Expand All @@ -14,7 +15,7 @@ const config: ForgeConfig = {
process.platform === "win32"
? "./src/appicons/icons/win/icon.ico"
: "./src/appicons/icons/mac/ico",
extraResource: "./src/models",
extraResource: "./models",
osxSign: {
identity: "Developer ID Application: Age of AI, LLC (TS4W464GMN)",
optionsForFile: () => {
Expand Down Expand Up @@ -52,8 +53,11 @@ const config: ForgeConfig = {
{
name: "FreedomGPT",
setupIcon: "./src/appicons/icons/win/icon.ico",
certificateFile: process.env.WINDOWS_PFX_FILE as string,
certificatePassword: process.env.WIN_CERTIFICATE_PASSWORD as string,
certificateFile: process.env["WINDOWS_PFX_FILE"],
certificatePassword: process.env["WINDOWS_PFX_PASSWORD"],
owners: "Age of AI, LLC",
authors: "Age of AI, LLC",
copyright: "Age of AI, LLC",
},
["win32"]
),
Expand Down

0 comments on commit 679642e

Please sign in to comment.