Skip to content

Commit

Permalink
Update GitHub Actions workflow and package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 17, 2024
1 parent 1b8ac37 commit 32fb1c6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:

- name: Build and Package the app
run: npm run package
env:
NODE_ENV: production

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:win": "npm_config_platform=win32 npm_config_arch=x64 npm install && electron-builder build --win",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "npx electron-forge publish --prerelease",
"publish": "electron-forge publish --prerelease",
"dev": "electron-forge start",
"lint": "eslint --ext .ts,.tsx ."
},
Expand All @@ -36,6 +36,7 @@
"@vueuse/core": "^10.11.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"electron-squirrel-startup": "^1.0.1",
"electron-updater": "^6.2.1",
"ffmpeg-static": "^5.2.0",
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import { Event } from './enums/event';
import { Channel } from './enums/channel';
import { Platform } from './enums/platform';
import { updateElectronApp } from './lib/auto-updater';
import dotenv from 'dotenv';

dotenv.config();

updateElectronApp();

Expand Down

0 comments on commit 32fb1c6

Please sign in to comment.