# saidsurucu/uets-eimza-mac-arm64 architecture

> Architecture diagram of the GitHub repository saidsurucu/uets-eimza-mac-arm64, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/saidsurucu/uets-eimza-mac-arm64
- Repository: https://github.com/saidsurucu/uets-eimza-mac-arm64

## Overview

This repository is an unofficial macOS arm64 packager for the UETS e-signature app, not the app’s source. Its main workflow is a user-run installer that obtains prerequisites and the official JAR, then builds, signs, and installs an app bundle containing Java 11. The bundle reads UETS configuration from the service and relies on a separately installed arm64 AKİS driver for smart-card access. A DMG is an optional distribution path. Source excerpts were unavailable, so relationships shown here are based on README statements only.

Main entry points: [`scripts/build.sh`](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh) (App builder), [`kur.sh`](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/kur.sh) (One-line installer), [`Makefile`](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/Makefile) (Optional DMG), [`uets-eimza.jnlp`](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/uets-eimza.jnlp) (UETS launch metadata)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup"]
  node_installer["One-line installer<br/>[kur.sh]"]
  node_toolchain["Build prerequisites<br/>[build.sh]"]
  node_jarservice["Official UETS JAR"]
  node_jnlp["UETS launch metadata<br/>[uets-eimza.jnlp]"]
end

subgraph group_packaging["App packaging"]
  node_builder["App builder<br/>[build.sh]"]
  node_runtimeimage["Embedded Java 11"]
  node_signer["Ad-hoc signing<br/>[build.sh]"]
  node_dmg["Optional DMG"]
end

subgraph group_runtime["App runtime"]
  node_app["UETS macOS app"]
  node_config["UETS configuration service"]
  node_akis["AKİS arm64 driver"]
  node_card["Smart card"]
end

node_user(("Mac user"))

node_user -->|"runs"| node_installer
node_installer -->|"installs if needed"| node_toolchain
node_installer -->|"downloads JAR"| node_jarservice
node_installer -->|"builds and installs"| node_builder
node_builder -->|"uses launch settings"| node_jnlp
node_builder -->|"embeds"| node_runtimeimage
node_builder -->|"packages downloaded JAR"| node_jarservice
node_builder -->|"signs app"| node_signer
node_signer -->|"produces"| node_app
node_user -->|"opens"| node_app
node_app -->|"reads config"| node_config
node_app -->|"uses driver"| node_akis
node_akis -->|"accesses"| node_card
node_user -.->|"requests optional build"| node_dmg
node_builder -.->|"can package"| node_dmg

click node_installer "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/kur.sh"
click node_toolchain "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh"
click node_jnlp "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/uets-eimza.jnlp"
click node_builder "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh"
click node_signer "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh"
click node_dmg "https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/Makefile"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_installer,node_toolchain,node_jarservice,node_jnlp,node_user toneBlue
class node_builder,node_runtimeimage,node_signer,node_dmg toneAmber
class node_app,node_config,node_akis,node_card toneMint
```

## Components

### Setup

- [One-line installer](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/kur.sh): `kur.sh`
- [Build prerequisites](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh): `scripts/build.sh`
- **Official UETS JAR**
- [UETS launch metadata](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/uets-eimza.jnlp): `uets-eimza.jnlp`

### App packaging

- [App builder](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh): `scripts/build.sh`
- **Embedded Java 11**
- [Ad-hoc signing](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/scripts/build.sh): `scripts/build.sh`
- [Optional DMG](https://github.com/saidsurucu/uets-eimza-mac-arm64/blob/main/Makefile): `Makefile`

### App runtime

- **UETS macOS app**
- **UETS configuration service**
- **AKİS arm64 driver**
- **Smart card**

### Other components

- **Mac user**

## Connections

- Mac user → One-line installer: runs (evidence: `README.md`)
- One-line installer → Build prerequisites: installs if needed (evidence: `README.md`)
- One-line installer → Official UETS JAR: downloads JAR (evidence: `README.md`)
- One-line installer → App builder: builds and installs (evidence: `README.md`)
- App builder → UETS launch metadata: uses launch settings (evidence: `README.md`)
- App builder → Embedded Java 11: embeds (evidence: `README.md`)
- App builder → Official UETS JAR: packages downloaded JAR (evidence: `README.md`)
- App builder → Ad-hoc signing: signs app (evidence: `README.md`)
- Ad-hoc signing → UETS macOS app: produces (evidence: `README.md`)
- Mac user → UETS macOS app: opens (evidence: `README.md`)
- UETS macOS app → UETS configuration service: reads config (evidence: `README.md`)
- UETS macOS app → AKİS arm64 driver: uses driver (evidence: `README.md`)
- AKİS arm64 driver → Smart card: accesses (evidence: `README.md`)
- Mac user → Optional DMG: requests optional build (evidence: `README.md`)
- App builder → Optional DMG: can package (evidence: `README.md`)
