-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pacakage version bump, and update docs
- Loading branch information
Showing
6 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,10 @@ | |
|
||
## MacOS Environment Setup | ||
|
||
Something similar probably needed on other platforms. | ||
|
||
Basic idea: install system python including TK/TCL, and tell UV venv to use that. | ||
|
||
Currently has to be python 3.12. | ||
UV python doesn't include TK/TCL [yet](https://github.com/astral-sh/uv/issues/7036). Instead, we install system python including TK/TCL, and tell UV venv to use system python. | ||
|
||
``` | ||
# Install python 3.12 and python-tk 3.12 with homebrew. Can't UV python, it doens't have TK. | ||
# Install python 3.12 and python-tk 3.12 with homebrew | ||
brew install [email protected] | ||
brew install [email protected] | ||
|
@@ -26,13 +22,20 @@ uv run python --version | |
uv run python -m app.desktop.desktop | ||
``` | ||
|
||
## MacOS Code Signing | ||
## Building the Desktop App | ||
|
||
Typically building desktop apps are done in a CI/CD pipeline, but if you need to build the desktop app locally, you can do so with: | ||
|
||
How to sign on of the builds from GitHub Actions for official release. | ||
```bash | ||
cd app/desktop | ||
uv run ./build_desktop_app.sh | ||
``` | ||
|
||
## MacOS Code Signing | ||
|
||
Easy way, but just signs with personal ID, not developer ID: `codesign --force --deep -s - kiln.app` | ||
Easy way, but just signs with personal ID for local development: `codesign --force --deep -s - kiln.app` | ||
|
||
Proper way with a developer ID: | ||
Sign with a developer ID (should only be done for official releases by Kiln team): | ||
|
||
1. Get developer ID name: `security find-identity -v -p codesigning` | ||
2. Run `codesign --force --deep -s "Developer ID Application: YOUR NAME (XXXXXXXX)" kiln.app` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.