Skip to content

Commit

Permalink
New Theme Builder with v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMando committed Aug 1, 2024
1 parent 78b6efd commit 763d5d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions glimpse/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const Ajv = require("ajv");
// const log = require('electron-log');
// const { autoUpdater } = require("electron-updater");

// require("electron-reload")(__dirname, {
// electron: path.join(__dirname, "node_modules", ".bin", "electron"),
// });
require("electron-reload")(__dirname, {
electron: path.join(__dirname, "node_modules", ".bin", "electron"),
});

const jsonUploadSchema = require("./schemas/json_upload.schema.json");
const themeUploadSchema = require("./schemas/theme_upload.schema.json");
Expand All @@ -27,8 +27,8 @@ const isMac = process.platform === "darwin";
let mainWindow = null;
let splashWindow = null;

// const rootDir = __dirname;
const rootDir = process.resourcesPath;
const rootDir = __dirname;
// const rootDir = process.resourcesPath;

//------------------ for debugging ------------------
// autoUpdater.logger = log;
Expand Down

0 comments on commit 763d5d4

Please sign in to comment.