Skip to content

Commit

Permalink
upgrade nvm-desktop version v2.6.2 -> v3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: The1111mp <[email protected]>
  • Loading branch information
1111mp committed Feb 2, 2024
1 parent 436c395 commit 5a5ee1d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nvm-desktop",
"productName": "NVM-Desktop",
"version": "2.6.2",
"version": "3.0.0",
"description": "A desktop client for manage the version of Nodejs.",
"keywords": [
"node",
Expand Down Expand Up @@ -33,6 +33,9 @@
"build": "npm run typecheck && electron-vite build --outDir=release/app/dist",
"postinstall": "electron-builder install-app-deps",
"package": "npm run build && electron-builder build --publish never",
"package:mac": "npm run build && electron-builder build --publish never --mac",
"package:linux": "npm run build && electron-builder build --publish never --linux",
"package:win": "npm run build && electron-builder build --publish never --win",
"package:debug": "DEBUG_PROD=true npm run build && electron-builder build --publish never",
"package:test": "TEST=true npm run build && electron-builder build --publish never",
"publish": "npm run build && electron-builder build --publish always",
Expand Down Expand Up @@ -174,7 +177,13 @@
},
"linux": {
"target": [
"AppImage"
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"category": "Development"
},
Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nvm-desktop",
"productName": "NVM-Desktop",
"version": "2.6.2",
"version": "3.0.0",
"description": "A desktop client for manage the version of Nodejs.",
"license": "MIT",
"main": "./dist/main/main.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/main/utils/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { app } from 'electron';

import { APPDIR, BIN_DIR, MIRRATION_FILE } from '../constants';

const CURRENT_MIGRATION_VERSION: number = 8;
const CURRENT_MIGRATION_VERSION: number = 9;

export async function updateSchema() {
const schemaVersion = await getSchemaVersion();
Expand Down

0 comments on commit 5a5ee1d

Please sign in to comment.