krz/orgstar

A native macOS editor for org-mode files. editor org-mode swift

docs/manual/install.org

778058aafc7ddacee4a613b1da87c60aa0c8e113
orgstar/docs/manual/install.org rendered · source · history · blame · raw

57 lines · 1746 bytes

 1#+TITLE: Install
 2#+DESCRIPTION: Building Orgstar for the Mac and the iOS Simulator from source.
 3#+LEDE: Orgstar is built from source; there are no prebuilt downloads yet.
 4
 5* Requirements
 6
 7- macOS 26 or later.
 8- Xcode 27 (the Swift 6.2 toolchain).
 9- Optional: GNU Emacs, for the features that hand work to it on the Mac
10  (Emacs Lisp code blocks that need full Emacs, Lisp table formulas the built-in
11  interpreter can't run, and export to PDF, LaTeX, ODT and other formats). See
12  [[file:guide/15-alongside-emacs.org][Working alongside Emacs and other tools]].
13
14* The Mac app
15
16#+BEGIN_SRC sh
17git clone https://gitbay.org/krz/orgstar.git
18cd orgstar
19scripts/build-app.sh
20open .build/app/Orgstar.app
21#+END_SRC
22
23=scripts/build-app.sh= builds a release binary and assembles
24=.build/app/Orgstar.app= with its Quick Look and Spotlight extensions, signed ad hoc
25for use on your own Mac. Move it to =/Applications= to keep it. Pass a version number
26as the first argument to stamp the bundle (=scripts/build-app.sh 1.0.0=); the default
27is =0.1.0=.
28
29Once the app has been launched, Finder opens =.org= files with it, Quick Look shows
30them formatted, and Spotlight indexes their headings and text.
31
32* The iOS app
33
34The iOS app (iOS 26 or later) currently builds for the Simulator:
35
36#+BEGIN_SRC sh
37scripts/build-ios-app.sh
38xcrun simctl install booted .build/ios-app/Orgstar.app
39#+END_SRC
40
41See [[file:guide/14-ios.org][iPhone and iPad]] for what it does.
42
43* Updating
44
45Pull and build again:
46
47#+BEGIN_SRC sh
48git pull
49scripts/build-app.sh
50#+END_SRC
51
52Your settings live in =~/.config/orgstar/= and survive rebuilds.
53
54* Uninstalling
55
56Delete =Orgstar.app=. To remove your settings as well, delete =~/.config/orgstar/=.
57Your org files are never stored inside the app.