mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
🔧 Build self-updater as part of main target
The self-updater is now a requirement for the main app to be able to be built. You no longer need the existing binary. This makes it easier for anyone to just try out the app locally and makes reproducible builds also possible. (This is done because the self-updater code will soon be moved to a separate package, and I want to make this entire updater process as simple as possible.) In order to avoid the self-updater app from appearing as a product when archiving a build, SKIP_INSTALL is set to true. This avoids a variety of annoying issues including the archive appearing under "Other Items".
This commit is contained in:
@ -33,17 +33,13 @@ defaults delete com.nicoverbruggen.phpmon && killall cfprefsd
|
||||
If you'd like to build PHP Monitor yourself, you need:
|
||||
|
||||
* Xcode (usually the latest version)
|
||||
* *PHP Monitor Self-Updater.app* in the `phpmon-updater` directory (You can build it yourself, it is included as a target OR copy the signed app so it is included w/ PHP Monitor)
|
||||
* The contents of this repository
|
||||
|
||||
Once you have downloaded this repository, open `PHP Monitor.xcodeproj`, and you should be able to build the app for your system by pressing Cmd-R. This will create a debug build. (If Xcode complains about code signing, you can turn it off.)
|
||||
|
||||
**Important**: The updater now gets automatically built and included as part of the main target.
|
||||
|
||||
If you'd like to create a production build, choose "Any Mac" as the target and select Product > Archive.
|
||||
|
||||
### PHP Monitor Updater
|
||||
|
||||
Select the separate target and build. You can then copy the product to the `phpmon-updater` directory. The binary will be re-signed when distributing the main build.
|
||||
|
||||
## 🚀 Release procedure
|
||||
|
||||
1. Merge into `main`
|
||||
|
Reference in New Issue
Block a user