Skip to content

Commit

Permalink
Test auto-updating
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Feb 17, 2023
1 parent a4966de commit ec3a31f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APPLE_ID=developer@datalogix.com.br
APPLE_ID_PASS=pprr-roll-xmjp-ihxx
TEAM_ID=4BX4Q257V3
6 changes: 4 additions & 2 deletions build/notarize.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
require('dotenv').config()

const { notarize } = require('@electron/notarize')

module.exports = async (context) => {
if (process.platform !== 'darwin') return

console.log('aftersign hook triggered, start to notarize app.')

if (!process.env.CI) {
/*if (!process.env.CI) {
console.log(`skipping notarizing, not in CI.`)
return
}
}*/

if (!('APPLE_ID' in process.env && 'APPLE_ID_PASS' in process.env)) {
console.warn('skipping notarizing, APPLE_ID and APPLE_ID_PASS env variables must be set.')
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "edumais-electron",
"description": "Edumais é um inovador Ambiente Virtual de Aprendizagem voltado para o meio escolar e empresarial.",
"homepage": "https://www.edumais.com.br",
"version": "1.0.14",
"version": "1.0.15",
"main": "./out/main/index.js",
"author": {
"name": "Edumais",
Expand Down Expand Up @@ -40,6 +40,7 @@
"@vue/eslint-config-typescript": "^11.0.2",
"@vueuse/components": "^9.12.0",
"@vueuse/core": "^9.12.0",
"dotenv": "^16.0.3",
"electron": "^23.1.0",
"electron-builder": "^23.6.0",
"electron-vite": "^1.0.19",
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec3a31f

Please sign in to comment.