File tree Expand file tree Collapse file tree 4 files changed +791
-1675
lines changed Expand file tree Collapse file tree 4 files changed +791
-1675
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.1.2] - 2021-05-31
9+
10+ ### Fixed
11+
12+ - Bug with update window when banner is currently open
13+
814## [ 1.1.1] - 2021-05-28
915
1016### Added
Original file line number Diff line number Diff line change 1111 "repository" : {
1212 "url" : " https://github.com/cupcakearmy/unpixel"
1313 },
14- "version" : " 1.1.1 " ,
14+ "version" : " 1.1.2 " ,
1515 "main" : " ./dist/back/index.js" ,
1616 "scripts" : {
1717 "start" : " electron ." ,
6262 "electron" : " ^12.0.0" ,
6363 "electron-builder" : " ^22.10.5" ,
6464 "npm-run-all" : " ^4.1.5" ,
65- "parcel" : " next " ,
65+ "parcel" : " ^2.0.0-beta.3.1 " ,
6666 "postcss" : " ^8.2.10" ,
6767 "typescript" : " ^4.2.3"
6868 }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import logger from 'electron-log'
44import { dialog , shell } from 'electron'
55
66import pkg from '../../package.json'
7+ import Banner from './banner'
78
89const current = semver . coerce ( pkg . version )
910const url = 'https://api.github.com/repos/cupcakearmy/unpixel/tags'
@@ -25,7 +26,9 @@ export default class Updater {
2526 if ( ! current ) throw new Error ( 'Could not determine current version' )
2627 if ( semver . lt ( current , latest ) ) {
2728 logger . info ( 'New version available' )
29+ Banner . close ( )
2830 dialog
31+ // @ts -ignore
2932 . showMessageBox ( null , {
3033 title : 'Update available' ,
3134 message : 'A newer version is available, please download.' ,
You can’t perform that action at this time.
0 commit comments