-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/autoUpdates' of github.com:napse-invest/Napse
- Loading branch information
Showing
13 changed files
with
141 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Deploy to Github Releases | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
|
||
|
||
jobs: | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
|
||
|
||
- name: Build/release Electron app | ||
uses: samuelmeuli/action-electron-builder@v1 | ||
with: | ||
# GitHub token, automatically provided to the action | ||
# (No need to define this secret in the repo settings) | ||
github_token: ${{ secrets.github_token }} | ||
|
||
# If the commit is tagged with a version (e.g. "v1.0.0"), | ||
# release the app after building | ||
release: ${{ startsWith(github.ref, 'refs/tags/v') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,8 @@ files: | |
- package.json | ||
- app | ||
|
||
linux: | ||
target: deb | ||
|
||
|
||
publish: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,17 @@ | |
"name": "napse", | ||
"description": "Napse Desktop App", | ||
"homepage": "https://napse-invest.com", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": "Napse Invest <[email protected]>", | ||
"main": "app/background.js", | ||
"scripts": { | ||
"start": "nextron", | ||
"build": "nextron build", | ||
"build": "nextron build --mac --linux --win --x64", | ||
"build:mac": "nextron build --mac", | ||
"build:mac:universal": "nextron build --mac --universal", | ||
"build:linux": "nextron build --linux", | ||
"build:win32": "nextron build --win --ia32", | ||
"build:win64": "nextron build --win --x64", | ||
"build:all": "nextron build --mac --linux --win --x64", | ||
"postinstall": "electron-builder install-app-deps", | ||
"lint": "next lint" | ||
}, | ||
|
@@ -53,15 +52,15 @@ | |
"axios": "^1.5.0", | ||
"class-variance-authority": "^0.7.0", | ||
"clsx": "^2.0.0", | ||
"electron-dl": "^3.5.1", | ||
"extract-zip": "^2.0.1", | ||
"fs": "^0.0.1-security", | ||
"https": "^1.0.0", | ||
"cmdk": "^0.2.1", | ||
"date-fns": "^3.3.1", | ||
"electron-dl": "^3.5.1", | ||
"electron-serve": "^1.1.0", | ||
"electron-store": "^8.1.0", | ||
"embla-carousel-react": "^8.0.0-rc20", | ||
"extract-zip": "^2.0.1", | ||
"fs": "^0.0.1-security", | ||
"https": "^1.0.0", | ||
"lucide-react": "^0.344.0", | ||
"next-themes": "^0.2.1", | ||
"react-day-picker": "^8.10.0", | ||
|
@@ -70,8 +69,8 @@ | |
"redaxios": "^0.5.1", | ||
"separator": "^0.1.0", | ||
"shadcn-ui": "^0.4.1", | ||
"superagent": "^8.1.2", | ||
"sonner": "^1.4.3", | ||
"superagent": "^8.1.2", | ||
"table": "^6.8.1", | ||
"tabs": "^0.2.0", | ||
"tailwind-merge": "^1.14.0", | ||
|
@@ -88,7 +87,7 @@ | |
"@typescript-eslint/parser": "^6.16.0", | ||
"autoprefixer": "^10.4.7", | ||
"electron": "^21.4.4", | ||
"electron-builder": "^24.12.0", | ||
"electron-builder": "^24.13.3", | ||
"eslint": "^8.57.0", | ||
"eslint-config-next": "13.5.4", | ||
"eslint-config-standard-with-typescript": "^39.1.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.