mirror of
https://github.com/bitwarden/desktop.git
synced 2025-02-19 01:41:29 +01:00
move appName appPath up
This commit is contained in:
parent
c5250adf53
commit
a565925b8f
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
branches-ignore:
|
branches-ignore:
|
||||||
- 'l10n_master'
|
- 'l10n_master'
|
||||||
- 'gh-pages'
|
- 'gh-pages'
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -7,12 +7,12 @@ async function run(context) {
|
|||||||
console.log('## After sign');
|
console.log('## After sign');
|
||||||
// console.log(context);
|
// console.log(context);
|
||||||
|
|
||||||
|
const appName = context.packager.appInfo.productFilename;
|
||||||
|
const appPath = `${context.appOutDir}/${appName}.app`;
|
||||||
const macBuild = context.electronPlatformName === 'darwin';
|
const macBuild = context.electronPlatformName === 'darwin';
|
||||||
|
|
||||||
if (macBuild) {
|
if (macBuild) {
|
||||||
console.log('### Notarizing ' + appPath);
|
console.log('### Notarizing ' + appPath);
|
||||||
const appName = context.packager.appInfo.productFilename;
|
|
||||||
const appPath = `${context.appOutDir}/${appName}.app`;
|
|
||||||
const appleId = process.env.APPLE_ID_USERNAME || process.env.APPLEID;
|
const appleId = process.env.APPLE_ID_USERNAME || process.env.APPLEID;
|
||||||
const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`;
|
const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`;
|
||||||
return await notarize({
|
return await notarize({
|
||||||
|
Loading…
Reference in New Issue
Block a user