mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix: Keep settings on upgrade.
This commit is contained in:
parent
3c04551722
commit
b967b36a62
4
main.js
4
main.js
@ -118,7 +118,7 @@ if (!setupEvents.handleSquirrelEvent()) {
|
||||
settings.set('settings',
|
||||
Object.assign(
|
||||
{},
|
||||
settings.set('settings'),
|
||||
settings.get('settings'),
|
||||
{
|
||||
last_used_version: require('./package.json').version,
|
||||
first_launch: true,
|
||||
@ -131,7 +131,7 @@ if (!setupEvents.handleSquirrelEvent()) {
|
||||
settings.set('settings',
|
||||
Object.assign(
|
||||
{},
|
||||
settings.set('settings'),
|
||||
settings.get('settings'),
|
||||
{
|
||||
last_used_version: require('./package.json').version,
|
||||
first_launch: true,
|
||||
|
Loading…
Reference in New Issue
Block a user