### Running Frame from Source on Ubuntu/Linux Source: https://github.com/floating/frame/blob/develop/README.md This snippet provides instructions for setting up and running the Frame application from its source code. It includes steps for cloning the repository, managing Node.js versions with NVM, installing dependencies, and starting the production build. Prerequisites include `build-essential` and `libudev-dev` on Ubuntu. ```bash # Clone › git clone https://github.com/floating/frame # Use node v18 › nvm install 18.12.1 › nvm use 18.12.1 # Install › npm run setup # Run › npm run prod ``` -------------------------------- ### Building Frame Application Bundles Source: https://github.com/floating/frame/blob/develop/README.md This snippet outlines the commands required to build the Frame application. It includes commands to create a JavaScript bundle and then compile the application for the current operating system. This is typically used for preparing Frame for distribution or local development builds. ```bash › npm run bundle # Create bundle › npm run build # Build Frame for current platform ``` -------------------------------- ### Connecting to Frame Natively using eth-provider Source: https://github.com/floating/frame/blob/develop/README.md This JavaScript snippet demonstrates how to establish a connection to Frame's system-wide JSON-RPC endpoints using the `eth-provider` library. `eth-provider` handles connection edge cases across different environments, simplifying the process of interacting with Frame from any application. The `frame` string specifies the target provider. ```javascript const provider = ethProvider('frame') ``` -------------------------------- ### Defining Apple Code Signing Entitlement Source: https://github.com/floating/frame/blob/develop/build/electron-builder-requirements.txt This snippet defines a security entitlement rule. It requires the code to be signed by an 'anchor apple generic' certificate, and checks for the existence of specific fields (1.2.840.113635.100.6.2.6 and 1.2.840.113635.100.6.1.13) within the certificate chain. Additionally, it mandates that the Organizational Unit (OU) of the leaf certificate must be either '364SDYGLLU' or '2NVQ8CKLY6'. This is typically used to enforce strict signing requirements for applications. ```Apple Entitlement Language designated => anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "364SDYGLLU" or certificate leaf[subject.OU] = "2NVQ8CKLY6") ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.