5 Commits

Author SHA1 Message Date
Samuel Attard
64cbc83faf build: configure semantic release for main branch 2022-10-18 16:08:05 -07:00
Samuel Attard
691e4ef31d fix: migrate from asar to @electron/asar 2022-10-18 16:06:38 -07:00
Samuel Attard
d902197267 build: migrate master <-> main 2022-10-18 16:05:13 -07:00
Mike Maietta
72a3f83d27 fix: export MakeUniversalOpts (#48)
This is to allow other packages to extract specific logic/options with typesafety
2022-10-03 00:05:29 -07:00
Samuel Attard
3cc1365561 Update config.yml 2022-10-03 00:04:43 -07:00
7 changed files with 23 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ version: 2.1
jobs: jobs:
test: test:
macos: macos:
xcode: "12.2.0" xcode: "13.4.1"
<<: *steps-test <<: *steps-test
release: release:
@@ -30,6 +30,7 @@ jobs:
- checkout - checkout
- *step-restore-cache - *step-restore-cache
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: npx @continuous-auth/circleci-oidc-github-auth@1.0.5
- run: npx semantic-release - run: npx semantic-release
workflows: workflows:
version: 2 version: 2
@@ -42,5 +43,6 @@ workflows:
filters: filters:
branches: branches:
only: only:
- master - main
context: cfa-release

View File

@@ -4,6 +4,7 @@
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
"@continuous-auth/semantic-release-npm", "@continuous-auth/semantic-release-npm",
"@semantic-release/github" "@semantic-release/github"
] ],
"branches": [ "main" ]
} }

View File

@@ -2,7 +2,7 @@
> Create universal macOS Electron applications > Create universal macOS Electron applications
[![CircleCI](https://circleci.com/gh/electron/universal/tree/master.svg?style=svg)](https://circleci.com/gh/electron/universal) [![CircleCI](https://circleci.com/gh/electron/universal/tree/main.svg?style=svg)](https://circleci.com/gh/electron/universal)
## Usage ## Usage

View File

@@ -43,8 +43,8 @@
"typescript": "^4.0.5" "typescript": "^4.0.5"
}, },
"dependencies": { "dependencies": {
"@electron/asar": "^3.2.1",
"@malept/cross-spawn-promise": "^1.1.0", "@malept/cross-spawn-promise": "^1.1.0",
"asar": "^3.1.0",
"debug": "^4.3.1", "debug": "^4.3.1",
"dir-compare": "^2.4.0", "dir-compare": "^2.4.0",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",

View File

@@ -1,4 +1,4 @@
import * as asar from 'asar'; import * as asar from '@electron/asar';
import { execFileSync } from 'child_process'; import { execFileSync } from 'child_process';
import * as crypto from 'crypto'; import * as crypto from 'crypto';
import * as fs from 'fs-extra'; import * as fs from 'fs-extra';

View File

@@ -1,5 +1,5 @@
import { spawn } from '@malept/cross-spawn-promise'; import { spawn } from '@malept/cross-spawn-promise';
import * as asar from 'asar'; import * as asar from '@electron/asar';
import * as crypto from 'crypto'; import * as crypto from 'crypto';
import * as fs from 'fs-extra'; import * as fs from 'fs-extra';
import * as minimatch from 'minimatch'; import * as minimatch from 'minimatch';
@@ -13,7 +13,7 @@ import { AsarMode, detectAsarMode, generateAsarIntegrity, mergeASARs } from './a
import { sha } from './sha'; import { sha } from './sha';
import { d } from './debug'; import { d } from './debug';
type MakeUniversalOpts = { export type MakeUniversalOpts = {
/** /**
* Absolute file system path to the x64 version of your application. E.g. /Foo/bar/MyApp_x64.app * Absolute file system path to the x64 version of your application. E.g. /Foo/bar/MyApp_x64.app
*/ */

View File

@@ -48,6 +48,18 @@
read-pkg "^4.0.0" read-pkg "^4.0.0"
registry-auth-token "^3.3.1" registry-auth-token "^3.3.1"
"@electron/asar@^3.2.1":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@electron/asar/-/asar-3.2.1.tgz#c4143896f3dd43b59a80a9c9068d76f77efb62ea"
integrity sha512-hE2cQMZ5+4o7+6T2lUaVbxIzrOjZZfX7dB02xuapyYFJZEAiWTelq6J3mMoxzd0iONDvYLPVKecB5tyjIoVDVA==
dependencies:
chromium-pickle-js "^0.2.0"
commander "^5.0.0"
glob "^7.1.6"
minimatch "^3.0.4"
optionalDependencies:
"@types/glob" "^7.1.1"
"@iarna/cli@^1.2.0": "@iarna/cli@^1.2.0":
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/@iarna/cli/-/cli-1.2.0.tgz#0f7af5e851afe895104583c4ca07377a8094d641" resolved "https://registry.yarnpkg.com/@iarna/cli/-/cli-1.2.0.tgz#0f7af5e851afe895104583c4ca07377a8094d641"
@@ -510,18 +522,6 @@ asap@^2.0.0:
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
asar@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/asar/-/asar-3.1.0.tgz#70b0509449fe3daccc63beb4d3c7d2e24d3c6473"
integrity sha512-vyxPxP5arcAqN4F/ebHd/HhwnAiZtwhglvdmc7BR2f0ywbVNTOpSeyhLDbGXtE/y58hv1oC75TaNIXutnsOZsQ==
dependencies:
chromium-pickle-js "^0.2.0"
commander "^5.0.0"
glob "^7.1.6"
minimatch "^3.0.4"
optionalDependencies:
"@types/glob" "^7.1.1"
asn1@~0.2.3: asn1@~0.2.3:
version "0.2.4" version "0.2.4"
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136"