Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Alice Gaudon | 2ae320f0a0 | |
Alice Gaudon | 1755e3f3dd | |
Alice Gaudon | e18e5da2a8 | |
Alice Gaudon | 61c9057191 | |
Alice Gaudon | db4a431ac5 |
|
@ -1,5 +1,5 @@
|
|||
provider: generic
|
||||
url: "https://update.eternae.ink/ashpie/tabs"
|
||||
url: "https://u.git.kma.sh/ashpie/tabs"
|
||||
updaterCacheDirName: tabs-updater
|
||||
publisherName:
|
||||
- Alice Gaudon
|
||||
|
|
18
package.json
18
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tabs",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.3",
|
||||
"description": "Persistent and separate browser tabs in one window.",
|
||||
"author": {
|
||||
"name": "Alice Gaudon",
|
||||
|
@ -23,7 +23,7 @@
|
|||
"dependencies": {
|
||||
"appdata-path": "^1.0.0",
|
||||
"ejs": "^3.0.1",
|
||||
"electron-updater": "^4.2.4",
|
||||
"electron-updater": "^5.0.1",
|
||||
"esm": "^3.2.25",
|
||||
"single-instance": "^0.0.1"
|
||||
},
|
||||
|
@ -31,15 +31,15 @@
|
|||
"@babel/core": "^7.9.6",
|
||||
"@babel/preset-env": "^7.9.6",
|
||||
"@fortawesome/fontawesome-free": "^6.1.0",
|
||||
"@types/node": "^14.6.2",
|
||||
"@types/node": "^16.11.68",
|
||||
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
||||
"@typescript-eslint/parser": "^5.15.0",
|
||||
"babel-loader": "^8.1.0",
|
||||
"concurrently": "^7.0.0",
|
||||
"copy-webpack-plugin": "^10.2.4",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"css-loader": "^6.3.0",
|
||||
"electron": "^17.1.2",
|
||||
"electron-builder": "^22.11.5",
|
||||
"electron": "^22.0.0",
|
||||
"electron-builder": "^23.0.3",
|
||||
"eslint": "^8.11.0",
|
||||
"image-minimizer-webpack-plugin": "^3.2.3",
|
||||
"imagemin": "^8.0.1",
|
||||
|
@ -49,7 +49,7 @@
|
|||
"imagemin-svgo": "^10.0.1",
|
||||
"mini-css-extract-plugin": "^2.1.0",
|
||||
"sass": "^1.32.12",
|
||||
"sass-loader": "^12.1.0",
|
||||
"sass-loader": "^13.0.0",
|
||||
"svgo": "^2.3.1",
|
||||
"ts-loader": "^9.1.2",
|
||||
"typescript": "^4.0.2",
|
||||
|
@ -65,7 +65,7 @@
|
|||
"publish": [
|
||||
{
|
||||
"provider": "generic",
|
||||
"url": "https://update.eternae.ink/ashpie/tabs"
|
||||
"url": "https://u.git.kma.sh/ashpie/tabs"
|
||||
}
|
||||
],
|
||||
"linux": {
|
||||
|
@ -89,6 +89,6 @@
|
|||
"icon": "frontend/images/logo.png",
|
||||
"category": "public.app-category.utilities"
|
||||
},
|
||||
"electronVersion": "15.0.0"
|
||||
"electronVersion": "22.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,10 +29,11 @@ export default class Updater {
|
|||
|
||||
public async checkForUpdates(force: boolean = false): Promise<UpdateInfo | void> {
|
||||
if (force || !this.updateInfo) {
|
||||
this.updateInfo = (await autoUpdater.checkForUpdates()).updateInfo;
|
||||
const updateCheckResult = await autoUpdater.checkForUpdates();
|
||||
this.updateInfo = updateCheckResult?.updateInfo;
|
||||
}
|
||||
|
||||
if (this.updateInfo.version !== this.getCurrentVersion().raw) {
|
||||
if (this.updateInfo && this.updateInfo.version !== this.getCurrentVersion().raw) {
|
||||
return this.updateInfo;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue