File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ const packageJSON = require('./package.json');
7
7
8
8
const channel = process . env . UPDATE_CHANNEL ;
9
9
const arch = os . arch ( ) ;
10
- const hasAppleCertificate = Boolean ( process . env . APPLE_CERTIFICATE_BASE64 ) ;
10
+ const hasAppleCertificate = Boolean ( process . env . CSC_LINK ) ;
11
11
12
12
console . log ( `🚄 Build Version ${ packageJSON . version } , Channel: ${ channel } ` ) ;
13
13
console . log ( `🏗️ Building for architecture: ${ arch } ` ) ;
14
14
15
15
const isNightly = channel === 'nightly' ;
16
16
const isBeta = packageJSON . name . includes ( 'beta' ) ;
17
17
18
- // https://www.electron.build/code-signing-mac?utm_source=openai #how-to-disable-code-signing-during-the-build-process-on-macos
18
+ // https://www.electron.build/code-signing-mac#how-to-disable-code-signing-during-the-build-process-on-macos
19
19
if ( ! hasAppleCertificate ) {
20
20
// Disable auto discovery to keep electron-builder from searching unavailable signing identities
21
21
process . env . CSC_IDENTITY_AUTO_DISCOVERY = 'false' ;
22
- console . log ( '⚠️ Apple certificate not found, macOS artifacts will be unsigned.' ) ;
22
+ console . log ( '⚠️ Apple certificate link not found, macOS artifacts will be unsigned.' ) ;
23
23
}
24
24
25
25
// 根据版本类型确定协议 scheme
You can’t perform that action at this time.
0 commit comments