recovery appId

This commit is contained in:
kuaifan 2022-03-30 06:24:20 +08:00
parent 7b64793449
commit 7dd85b2ba6
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
require('dotenv').config();
const { notarize } = require('electron-notarize');
const config = require('./package.json');
exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
@ -10,7 +11,7 @@ exports.default = async function notarizing(context) {
}
return await notarize({
appBundleId: 'com.dootask.desktop',
appBundleId: config.build.appId,
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLEID,
appleIdPassword: process.env.APPLEIDPASS,

View File

@ -48,7 +48,7 @@
"pdf-lib": "^1.17.1"
},
"build": {
"appId": "com.dootask.desktop",
"appId": "com.dootask.task",
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"asar": true,
"files": [

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.12.34",
"version": "0.12.36",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",
@ -10,7 +10,7 @@
"app": [
{
"name": "DooTask",
"id": "com.dootask.desktop",
"id": "com.dootask.task",
"url": "https://dootask.com/",
"publish": {
"provider": "github",
@ -20,7 +20,7 @@
},
{
"name": "HitoseaTask",
"id": "com.hitosea.desktop",
"id": "com.hitosea.task",
"url": "https://t.hitosea.com/",
"publish": {
"provider": "generic",