Skip to content

Commit

Permalink
Merge branch 'release/v1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ailtonloures committed Sep 16, 2024
2 parents d5914d1 + 5515234 commit 7c54669
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
open-pull-requests-limit: 5
target-branch: "develop"

- package-ecosystem: "github-actions"
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
target-branch: "develop"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ VSCode Bookmark
### Requirements

- [Git](https://git-scm.com/)
- [NodeJs v20.*](https://nodejs.org/pt)
- [Node LTS](https://nodejs.org/pt)

### How to use

Expand Down
48 changes: 33 additions & 15 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-bookmark",
"productName": "VSCode Bookmark",
"description": "A utility to save your favorite projects and open them easily in vscode.",
"version": "1.0.1",
"version": "1.0.2",
"author": "Ailton Loures",
"homepage": "https://github.com/ailtonloures/vscode-bookmark#readme",
"repository": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"@electron-forge/publisher-github": "^7.4.0",
"@electron/fuses": "^1.8.0",
"@eslint/js": "^9.9.1",
"electron": "32.0.1",
"electron": "32.1.0",
"electron-icon-maker": "^0.0.5",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
Expand Down
10 changes: 6 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import squirrelStartup from 'electron-squirrel-startup';
import { app } from 'electron/main';
import { renderTray } from './tray.js';

if (squirrelStartup || !app.requestSingleInstanceLock()) {
app.quit();
}

Sentry.init({
dsn: 'https://713782327975276ae010040b1db6ab8a@o4507887084503040.ingest.us.sentry.io/4507887098724352',
});

if (squirrelStartup || !app.requestSingleInstanceLock()) app.quit();

app.setLoginItemSettings({
openAtLogin: true,
});

app.whenReady().then(() => renderTray());

0 comments on commit 7c54669

Please sign in to comment.