mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
Fixed an issue where first install could fail.
This commit is contained in:
parent
74b7dbd083
commit
2649598fa1
2
main.js
2
main.js
@ -14,7 +14,7 @@ if (!setupEvents.handleSquirrelEvent()) {
|
|||||||
// Check for latest used version and clear settings if needed.
|
// Check for latest used version and clear settings if needed.
|
||||||
const old_version = settings.get('settings.last_used_version');
|
const old_version = settings.get('settings.last_used_version');
|
||||||
const new_version = require('./package.json').version;
|
const new_version = require('./package.json').version;
|
||||||
if (old_version !== new_version) {
|
if (old_version && old_version !== new_version) {
|
||||||
var compareVersions = require('compare-versions');
|
var compareVersions = require('compare-versions');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ryzencontroller",
|
"name": "ryzencontroller",
|
||||||
"version": "1.12.2",
|
"version": "1.12.3",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ryzencontroller",
|
"name": "ryzencontroller",
|
||||||
"productName": "RyzenController",
|
"productName": "RyzenController",
|
||||||
"version": "1.12.2",
|
"version": "1.12.3",
|
||||||
"description": "A minimal Electron application to use ryzenAdj through a friendly interface.",
|
"description": "A minimal Electron application to use ryzenAdj through a friendly interface.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user