Skip to content

Official Documentation

John Seong edited this page May 10, 2022 · 17 revisions

Introduction

Rosetta Enforcer is an open-source project that is grounded in community and by community.

This application massively simplifies the process of Universal Binary to Single Architecture command, using macOS’s default command set called lipo.

This documentation will guide you through the journey of not only using this program as an average user but also modifying it to your taste and contributing to this active project as a macOS developer.

Feel free to add any additional comments or content to this page and I hope y’all have wonderful days out there!

Regards,

John Seong


Folder-File Structure

Main Branch

  • Sources/Rosetta Enforcer/Models.swift —— Contains the business logic that dictates the behaviour of the architecture detection and conversion process; mainly the terminal execution commands, including the famous lipo

  • Sources/Rosetta Enforcer/Views —— This folder contains scripts that form the GUI interface of this program; primarily focusing on the seamless interaction between the user and the back-end side of this application.

  • Installers —— A folder that possesses the precompiled DMG file for installation, as well as different scripts that are used to generate that DMG file such as Rosetta_Enforcer.json that contains the metadata of where the icon and the background files are located, and specifies the positions of the shortcuts that appear in the installer window.


Other Dependencies Used

  1. App2Dmg —— An npm module that converts a .app executable to a .dmg archive
Clone this wiki locally