From a0171cfc50d159befdcd7182c21ad9c580eb333f Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 10 Oct 2022 21:04:49 +0900 Subject: [PATCH] debug for arm notarize --- .github/workflows/build-macos.yml | 9 +++++---- app/build.js | 3 +-- app/yarn.lock | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 48425c4e..cc7829df 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -3,10 +3,11 @@ name: macOS build -on: - release: - types: - - created +#on: +# release: +# types: +# - created +on: push jobs: build: diff --git a/app/build.js b/app/build.js index e19fb0f9..a4c0e228 100644 --- a/app/build.js +++ b/app/build.js @@ -180,7 +180,6 @@ async function cmd(options) { `../build/TheDesk-${version}-x64.dmg` ) if (isTrue(options, 'withArm64')) { - delete config.afterSign await build(Platform.MAC, Arch.arm64, config) fs.renameSync( `../build/TheDesk-${version}.dmg`, @@ -193,7 +192,7 @@ async function cmd(options) { ) } if (arch === 'arm64') { - delete config.afterSign + if (isTrue(options, 'unnotarize')) delete config.afterSign await build(Platform.MAC, Arch.arm64, config) fs.renameSync( `../build/TheDesk-${version}.dmg`, diff --git a/app/yarn.lock b/app/yarn.lock index 79d6a03e..556f8801 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -5058,9 +5058,9 @@ truncate-utf8-bytes@^1.0.0: dependencies: utf8-byte-length "^1.0.1" -"ttfinfo@git+https://github.com/rBurgett/ttfinfo.git": +"ttfinfo@https://github.com/rBurgett/ttfinfo.git": version "0.2.0" - resolved "git+https://github.com/rBurgett/ttfinfo.git#f00e43e2a6d4c8a12a677df20b7804492d50863c" + resolved "https://github.com/rBurgett/ttfinfo.git#f00e43e2a6d4c8a12a677df20b7804492d50863c" tty-browserify@0.0.1: version "0.0.1"