Skip to content

Commit

Permalink
fix app deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
madhaven committed Feb 9, 2025
1 parent 5d2d360 commit b967625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const createWindow = () => {
if (debugMode)
win.loadURL("http://localhost:4200")
else
win.loadFile("./pUIng/dist/puing/browser/index.html")
win.loadFile("./pUIng/dist/pUIng/browser/index.html")

win.webContents.on('did-finish-load', () => {
if (debugMode)
Expand Down
2 changes: 1 addition & 1 deletion pUIng/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>proTracker</title>
<base href="/proTracker/">
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="./assets/favicon.ico">
<meta name="keywords" content="habit track progress evaluat">
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protracker",
"version": "2.5.0",
"version": "2.6.0",
"description": "app to track tasks",
"main": "./eMain.js",
"scripts": {
Expand All @@ -14,7 +14,7 @@
"cleandebug": "npm run clean && npm run debug",
"make": "npm run build && electron-forge make",
"package": "electron-forge package",
"deploy": "cd pUIng && ng deploy"
"deploy": "cd pUIng && ng deploy --base-href=/proTracker/"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b967625

Please sign in to comment.