docs/manual/install.org

92 lines · 3606 bytes

 1#+TITLE: Install
 2#+DESCRIPTION: Installing orgstar on the Mac with Homebrew or a download, on iPhone and iPad from the App Store, and building it from source.
 3#+LEDE: The Mac app comes as a notarized download and a Homebrew cask; the iOS app is on the App Store.
 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** With Homebrew
17
18#+BEGIN_SRC sh
19brew tap krz/tap https://gitbay.org/krz/homebrew-tap.git
20brew install --cask orgstar
21#+END_SRC
22
23** As a download
24
25Download =orgstar-<version>.dmg= from the [[https://gitbay.org/krz/orgstar/releases][releases page]], open it, and drag
26orgstar to Applications. The app is universal (Apple silicon and Intel), signed with a
27Developer ID and notarized by Apple, so it opens without warnings.
28
29** From source
30
31#+BEGIN_SRC sh
32git clone https://gitbay.org/krz/orgstar.git
33cd orgstar
34scripts/build-app.sh
35open .build/app/orgstar.app
36#+END_SRC
37
38=scripts/build-app.sh= builds a release binary and assembles
39=.build/app/orgstar.app= with its Quick Look and Spotlight extensions, signed ad hoc
40for use on your own Mac. Move it to =/Applications= to keep it. Pass a version number
41as the first argument to stamp the bundle (=scripts/build-app.sh 1.0.0=); the default
42is =0.1.0=.
43
44Once the app has been launched, Finder opens =.org= files with it, Quick Look shows
45them formatted, and Spotlight indexes their headings and text.
46
47* The iOS app
48
49The iPhone and iPad app (iOS 26 or later) is on the [[https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018][App Store]]. The Apple Watch
50app comes with it. The App Store keeps it up to date.
51
52** From source
53
54The iOS app can also be built with Xcode from =ios/Orgstar.xcodeproj=:
55
561. Open =ios/Orgstar.xcodeproj=.
572. Select the *Orgstar iOS* target, then Signing & Capabilities, and choose your team.
58   Change the bundle identifiers (=sh.krz.orgstar= and the three extensions' =.share=,
59   =.quicklook= and =.widgets=) and the App Group (=group.sh.krz.orgstar=) to ones your team can register.
603. Choose your iPhone or iPad (or a Simulator) as the destination and Run (=⌘R=).
61
62On a device, Developer Mode must be on (Settings ▸ Privacy & Security ▸ Developer Mode).
63
64For the Simulator without opening Xcode (this build has no widgets):
65
66#+BEGIN_SRC sh
67scripts/build-ios-app.sh
68xcrun simctl install booted .build/ios-app/orgstar.app
69#+END_SRC
70
71See [[file:guide/14-ios.org][iPhone and iPad]] for what it does.
72
73* Updating
74
75orgstar checks for a new release once a day, after asking on its second launch whether it
76may; orgstar ▸ Check for Updates… checks now, and Settings ▸ General has the switch. An update
77downloads, is checked against the key the releases are signed with, and installs when you
78agree. With Homebrew, =brew upgrade --cask orgstar= works too; the cask leaves updating to the
79app otherwise. From source, pull and build again (a build without a Developer ID never checks):
80
81#+BEGIN_SRC sh
82git pull
83scripts/build-app.sh
84#+END_SRC
85
86Your settings live in =~/.config/orgstar/= and survive rebuilds.
87
88* Uninstalling
89
90Delete =orgstar.app=, or run =brew uninstall --cask orgstar=. To remove your settings as
91well, delete =~/.config/orgstar/= (=brew uninstall --zap --cask orgstar= does both).
92Your org files are never stored inside the app.