# @fellow/universal

> Utility for creating Universal macOS applications from two x64 and arm64 Electron applications

Latest version **1.3.5** (published 2023-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fellow/universal
pnpm add @fellow/universal
yarn add @fellow/universal
bun add @fellow/universal
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.5 |
| Published | 2023-03-16 |
| First published | 2023-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8.6 |
| Dependencies | 7 |
| Unpacked size | 94 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | sciyoshi, ericls, amin451, macdja38, cpmsmith |
| Keywords | electron, apple silicon, universal |

## Links

- npm: https://www.npmjs.com/package/@fellow/universal
- Repository: https://github.com/fellowapp/universal
- Homepage: https://github.com/fellowapp/universal#readme
- Issues: https://github.com/fellowapp/universal/issues
- npm.io page: https://npm.io/package/@fellow/universal

## Dependencies (7)

- [debug](https://npm.io/package/debug.md) ^4.3.1
- [plist](https://npm.io/package/plist.md) ^3.0.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [dir-compare](https://npm.io/package/dir-compare.md) ^3.0.0
- [@electron/asar](https://npm.io/package/@electron/asar.md) ^3.2.1
- [@malept/cross-spawn-promise](https://npm.io/package/@malept/cross-spawn-promise.md) ^1.1.0

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 1.3.5 (latest) — 2023-03-16

## README

# Forked from [@electron/universal](https://github.com/fellowapp/universal.git)

Electron universal but with this PR merged https://github.com/electron/universal/pull/66

# @electron/universal

> Create universal macOS Electron applications

[![CircleCI](https://circleci.com/gh/electron/universal/tree/main.svg?style=svg)](https://circleci.com/gh/electron/universal)


## Usage

```typescript
import { makeUniversalApp } from '@electron/universal';

await makeUniversalApp({
  x64AppPath: 'path/to/App_x64.app',
  arm64AppPath: 'path/to/App_arm64.app',
  outAppPath: 'path/to/App_universal.app',
});
```

Note: There are more useful arguments in the type definitions file

## FAQ

#### The app is twice as big now, why?

Well, a Universal app isn't anything magical.  It is literally the x64 app and
the arm64 app glued together into a single application.  It's twice as big
because it contains two apps in one.

#### What about native modules?

The way `@electron/universal` works today means you don't need to worry about
things like building universal versions of your native modules.  As long as
your x64 and arm64 apps work in isolation the Universal app will work as well.

#### How do I build my app for Apple silicon in the first place?

Check out the [Electron Apple silicon blog post](https://www.electronjs.org/blog/apple-silicon)

---
_Source: https://npm.io/package/@fellow/universal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
