|
24 | 24 | * LoopDocs: Decide on Modules to modify [Code Customization](../build/code_customization.md)
|
25 | 25 | * GitHub (each Module):
|
26 | 26 | 1. Fork Module (GitHub)
|
27 |
| - 1. Modify Module (GitHub->Codespaces) |
28 |
| - 1. Save your new branch (Codespaces->GitHub) |
| 27 | + 1. Modify Module (GitHub to Codespaces) |
| 28 | + 1. Save your new branch (Codespaces to GitHub) |
29 | 29 | 1. Prepare command line and save
|
30 | 30 | * All Module command lines prepared
|
31 | 31 | * GitHub (build Loop)
|
32 |
| - 1. Modify LoopWorkspace (GitHub->Codespaces) |
33 |
| - 1. Save your new branch (Codespaces->GitHub) |
| 32 | + 1. Modify LoopWorkspace (GitHub to Codespaces) |
| 33 | + 1. Save your new branch (Codespaces to GitHub) |
34 | 34 | 1. Action: Build Loop
|
35 | 35 | * Phone: Install Loop with TestFlight
|
36 | 36 |
|
@@ -170,11 +170,11 @@ If you have already made a customization in this module and you are returning fo
|
170 | 170 | * the branch is the default branch for this Module (dev or main)
|
171 | 171 | * this is where you will paste the command you're about to copy
|
172 | 172 |
|
173 |
| -The commands you paste depend on whether this is the first time you've worked with the Module or if you have already started customizing it and thus already have a main_3.2.1_custom branch created. |
| 173 | +The commands you paste depend on whether this is the first time you've worked with the Module for release 3.2.1 or if you have already started customizing it and thus already have a main_3.2.1_custom branch created. |
174 | 174 |
|
175 | 175 | ### First Time for this Module
|
176 | 176 |
|
177 |
| -These commands are used ONLY for released version of Loop and only the first time you work with a given Module. This page is configured for released version 3.2.1. |
| 177 | +These commands are used ONLY for released version of Loop and only the first time you work with a given Module for release 3.2.1. This page is configured for released version 3.2.1. |
178 | 178 |
|
179 | 179 | This process has two steps:
|
180 | 180 |
|
@@ -374,6 +374,9 @@ Prepare the commands for each Module customization you want for this build in yo
|
374 | 374 |
|
375 | 375 | Only use this section if you have not previously created the main_3.2.1_custom branch for LoopWorkspace.
|
376 | 376 |
|
| 377 | +* Be sure to sync the main branch of your fork to LoopKit/LoopWorkspace main branch BEFORE opening the Codespace |
| 378 | +* If you followed the original directions to build without customization first, you will have already synced - but just in case you skipped that step, sync it now |
| 379 | + |
377 | 380 | Open the Codespace and select your fork of LoopWorkspace **main** branch.
|
378 | 381 |
|
379 | 382 | Copy and paste the following lines into your terminal:
|
@@ -401,10 +404,14 @@ Type a message in the comment and click Commit.
|
401 | 404 |
|
402 | 405 | Click on sync changes.
|
403 | 406 |
|
| 407 | +### Build Loop with Your Customizations |
| 408 | + |
404 | 409 | Return to your GitHub window for LoopWorkspaces.
|
405 | 410 |
|
406 |
| -* Modify the default branch to be main_3.2.1_custom |
407 | 411 | * Click on Action: Build Loop
|
| 412 | + * When you Click on Run workflow to see the dropdown |
| 413 | + * You must select your main_3.2.1_custom branch |
| 414 | + * Then click on the green Run Workflow button |
408 | 415 |
|
409 | 416 | In about 1 hour, your customized Loop will be available for installation on your phone via TestFlight.
|
410 | 417 |
|
@@ -470,6 +477,8 @@ https://github.com/loopdocs-tester/Loop/compare/main...main_3.2.1_custom
|
470 | 477 |
|
471 | 478 | You now have a "patch" text file. Download and save this file on your computer.
|
472 | 479 |
|
| 480 | +No instructions are available yet, but you might be able to reuse that patch for subsequent releases. We are still working on steps and methods to simplify the process. |
| 481 | + |
473 | 482 | The default name when you select File->Save Page As, is 1.patch.txt. It's a good idea to revise this. For the graphic below, the filename was modified to `Loop_main_3.2.1_custom_1.patch.txt` and a folder called `patches` in Downloads was used for storage.
|
474 | 483 |
|
475 | 484 | {width="750"}
|
|
0 commit comments