From bff72b3ff855e4e2a54a45cde336d9a7091a062b Mon Sep 17 00:00:00 2001 From: Artemy Date: Wed, 21 Jun 2023 13:42:27 +0300 Subject: [PATCH] fix: publish --- electron-builder.yml | 5 +++-- package.json | 9 ++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index ff9d327..e1222ab 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -38,5 +38,6 @@ appImage: artifactName: ${name}-${version}.${ext} npmRebuild: false publish: - provider: generic - url: https://example.com/auto-updates + provider: github + owner: artegoser + repo: pimi-launcher diff --git a/package.json b/package.json index dcb17fc..ecd97fe 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,14 @@ { "name": "pimi-launcher", - "version": "1.1.0-alpha", + "version": "1.1.1-alpha", "description": "Modern Minecraft Launcher", "main": "./out/main/index.js", "author": "artegoser", "homepage": "https://github.com/artegoser/pimi-launcher", + "repository": { + "type": "git", + "url": "https://github.com/artegoser/pimi-launcher.git" + }, "scripts": { "format": "prettier --write .", "lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", @@ -13,8 +17,7 @@ "build": "electron-vite build", "postinstall": "electron-builder install-app-deps", "build:win": "npm run build && electron-builder --win --config", - "build:mac": "npm run build && electron-builder --mac --config", - "build:linux": "npm run build && electron-builder --linux --config" + "publish": "electron-builder --win -p always" }, "dependencies": { "@electron-toolkit/preload": "^2.0.0",