Skip to content

Commit

Permalink
Further release improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
undyingwraith committed Jan 20, 2025
1 parent 7c95276 commit 792fda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
run: yarn --immutable --check-cache
- name: Run build
run: yarn build
- name: Install snapcraft
run: sudo snap install snapcraft --classic
if: ${{ matrix.os == 'ubuntu-latest'}}
- name: Build Electron app
run: |
cd ./packages/desktop
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ process.on('uncaughtException', function (error) {
});

function getAppPath(): string {
return app.getPath('appData');
return join(app.getPath('appData'), app.getName(), 'Data');
}

function createWindow(): void {
Expand Down

0 comments on commit 792fda4

Please sign in to comment.