Skip to content

Commit

Permalink
added auto update feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ReStartQ committed Dec 4, 2023
1 parent 4c9c818 commit 0d9aa16
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 22 deletions.
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"description": "A foundation for scalable desktop apps",
"description": "Anime, Manga, and Light Novel Tracker Desktop Application for Windows. A fast and interactive way for AniList users to track and manage their anime/manga lists. ",
"keywords": [
"electron",
"boilerplate",
"react",
"typescript",
"ts",
"sass",
"webpack",
"hot",
"reload"
"anime",
"manga",
"lightnovel",
"light-novels",
"windows",
"anilist",
"anime-tracker",
"manga-tracker",
"myanimelist"
],
"homepage": "https://github.com/electron-react-boilerplate/electron-react-boilerplate#readme",
"homepage": "https://github.com/ReStartQ/anicour",
"bugs": {
"url": "https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues"
"url": "https://github.com/ReStartQ/anicour/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/electron-react-boilerplate/electron-react-boilerplate.git"
"url": "https://github.com/ReStartQ/anicour"
},
"license": "GPL-3.0",
"author": {
Expand Down Expand Up @@ -283,11 +283,12 @@
"publish": {
"provider": "github",
"owner": "ReStartQ",
"releaseType": "release",
"repo": "anicour"
}
},
"collective": {
"url": "https://opencollective.com/electron-react-boilerplate-594"
"url": ""
},
"devEngines": {
"node": ">=14.x",
Expand Down
4 changes: 2 additions & 2 deletions release/app/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 release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "anicour",
"version": "1.0.0",
"description": "A foundation for scalable desktop apps",
"version": "1.0.1",
"description": "Anime, Manga, and Light Novel Tracker Desktop Application for Windows. A fast and interactive way for AniList users to track and manage their anime/manga lists. ",
"license": "GPL-3.0",
"author": {
"name": "ReStartQ",
Expand Down
3 changes: 2 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AppUpdater {
log.transports.file.level = 'info';
autoUpdater.logger = log;
autoUpdater.checkForUpdatesAndNotify();
autoUpdater.autoInstallOnAppQuit = true;
}
}

Expand Down Expand Up @@ -634,7 +635,7 @@ const createWindow = async () => {

// Remove this if your app does not use auto updates
// eslint-disable-next-line
// new AppUpdater();
new AppUpdater();
};

/**
Expand Down
8 changes: 5 additions & 3 deletions src/main/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,15 @@ export default class MenuBuilder {
label: 'Help',
submenu: [
{
label: 'GitHub',
label: 'Setup',
click() {
shell.openExternal('https://github.com/restartq/anicour');
shell.openExternal(
'https://github.com/ReStartQ/anicour/blob/main/help/Setup.md',
);
},
},
{
label: 'Setup',
label: 'GitHub',
click() {
shell.openExternal('https://github.com/restartq/anicour');
},
Expand Down

0 comments on commit 0d9aa16

Please sign in to comment.