Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timeowilliams committed Nov 6, 2024
1 parent f695106 commit db2fab3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,28 @@ jobs:
- name: Install dependencies
run: npm install

- name: Install Code Signing Certificate
run: |
echo "$CERTIFICATE_P12" | base64 --decode > Certificates.p12
security import Certificates.p12 -P "$CERTIFICATE_PASSWORD" -A
security unlock-keychain -p "$CERTIFICATE_PASSWORD" /Users/runner/Library/Keychains/login.keychain-db
security set-key-partition-list -S apple-tool:,apple: -s -k "$CERTIFICATE_PASSWORD" /Users/runner/Library/Keychains/login.keychain-db
- name: Install the Apple certificate
env:
CERTIFICATE_P12: ${{ secrets.CERTIFICATE_P12 }}
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
# Set up paths for certificate and keychain
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
# Import certificate from secrets
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
# Create temporary keychain
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# Import certificate to keychain
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
- name: Store Notarization Credentials
run: |
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
<img src="resources/icon.png" alt="DeepFocus Logo" width="200" height="200">
</p>

<p align="center">
<img src="ezgif.com-optimize.gif" alt="DeepFocus in Action" width="700">
</p>


[![Release](https://github.com/Tech-Nest-Ventures/deepFocus/actions/workflows/release.yml/badge.svg)](https://github.com/Tech-Nest-Ventures/deepFocus/actions/workflows/release.yml)
[![Version](https://img.shields.io/npm/v/project.svg)](https://www.npmjs.com/package/project)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
Expand Down Expand Up @@ -69,11 +74,11 @@ Open the .dmg or .zip file and drag the Deep Focus app to your Applications fold
- [x] Fix Emails not sending on schedule.
- [x] Add onboarding flow to improve user comprehension
- [x] Allow users to customize productive/unproductive sites
- [x] Add a gif to the README that shows the app in action
- [ ] Add more comprehensive test suite for main and renderer processes
- [ ] Add timeline view for daily email summaries
- [ ] Upload app to the App Store
- [ ] Collect error logs (sentry, etc)
- [ ] Add a gif to the README that shows the app in action

## Philosophy

Expand Down
Binary file added ezgif.com-optimize.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit db2fab3

Please sign in to comment.