Skip to content

Commit

Permalink
Adds 10.16 / 11.0.0 Images to the Gallery, Updates theme color to Hex…
Browse files Browse the repository at this point in the history
…ley Red. Bumps DarwinOCPkg to 1.0.1, Adds .gitignore to DarwinUDK
  • Loading branch information
royalgraphx committed Sep 7, 2024
1 parent d28e6c1 commit 8820d3c
Show file tree
Hide file tree
Showing 14 changed files with 101 additions and 43 deletions.
2 changes: 1 addition & 1 deletion DarwinUDK
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@
<img src="./showcase/ProMacBigSur.png">
</p>

<h3 align="center">macOS Big Sur 11.0.0 Developer Preview 1 (20A4299v)</h3>
<p align="center">
<img src="./showcase/110BigSurDP1MacPro71.png">
</p>

<h3 align="center">Mac OS X 10.16 (AppleInternal GoldenGateSpike 20A2314a)</h3>
<p align="center">
<img src="./showcase/1016CataSurMacPro71.png">
</p>

<h3 align="center">Mac OS X Catalina 10.15.7</h3>
<p align="center">
<img src="./showcase/ProMacCatalina.png">
Expand Down Expand Up @@ -260,9 +270,9 @@

5. Installing Docs dependencies, and running the server.
- Run ``bundle install`` in your terminal window.
- Running ``bundle exec jekyll serve`` will build and run a live copy of the DarwinKVM docs on port 4000 by default.
- Running ``bundle exec jekyll serve --incremental`` will build and run a live copy of the DarwinKVM docs on port 4000 by default.
- To change the port, you can specify the IP address and port to run on, allowing local mobile devices to also connect and preview DKVM Docs.
- ``bundle exec jekyll serve --host YOUR_IP_ADDRESS --port PORT``
- ``bundle exec jekyll serve --host YOUR_IP_ADDRESS --port PORT --incremental``

<h4 align="center">You'll now be able to see the changes you make update live so you can work quickly and preview the final look of your Markdown files easily. Once you are done making your changes you can then proceed to submit a Pull Request for review, and eventual merge to Main.</h4>
<h6 align="center">A big thanks to all contributors and future contributors! ꩓</h6>
44 changes: 44 additions & 0 deletions commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

# Stage all changes
git add --all

# Read commit message
echo "Enter Commit Details:"
read varcommit

# Function to add co-authors
coauthors=()
add_coauthor() {
echo "Do you want to add a Co-Author? (yes/no)"
read response

if [ "$response" = "yes" ]; then
echo "Enter Co-Author's Name:"
read author_name
echo "Enter Co-Author's Email:"
read author_email

coauthors+=("Co-authored-by: $author_name <$author_email>")

add_coauthor # Recursive call for adding more co-authors
fi
}

add_coauthor

# Construct the commit message with co-authors
commit_message="$varcommit"
for coauthor in "${coauthors[@]}"; do
commit_message+=$'\n\n'"$coauthor"
done

# Make the commit
git commit -m "$commit_message"

# Confirm commit
if [ "${#coauthors[@]}" -gt 0 ]; then
echo "Commit \"$varcommit\" with co-authors created successfully."
else
echo "Commit \"$varcommit\" created successfully."
fi
2 changes: 1 addition & 1 deletion docs/_includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DarwinKVM Docs Version 2.0.0~prerelease</br>
Copyright &copy; 2024 RoyalGraphX. Distributed by a <a href="https://github.com/royalgraphx/DarwinKVM/blob/main/LICENSE">BSD 3-Clause License</a>.</br>
Last Modified: Wed, 13 Jul 2024 19:35:01 CDT
Last Modified: Sat, 7 Sep 2024 18:00:00 CDT
2 changes: 1 addition & 1 deletion docs/_sass/color_schemes/custom.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@import "./color_schemes/dark";

$link-color: $zorm-hex;
$link-color: $hexley-red;

#site-nav {
/* Other CSS properties */
Expand Down
3 changes: 2 additions & 1 deletion docs/_sass/custom/setup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ $heads-up-100: #8c5a25;
$heads-up-200: #ae7435;
$heads-up-300: #ffab52;
$next-gray: #a9a9a9;
$zorm-hex: #8BBDE8;
$zorm-hex: #8BBDE8;
$hexley-red: #f96093;
8 changes: 8 additions & 0 deletions docs/docs/05-Gallery/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ has_toc: false
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/showcase/ProMacBigSur.png"><img src="../../showcase/ProMacBigSur.png" alt=""></a>
<hr>

<h3 align="center">macOS Big Sur 11.0.0 Developer Preview 1 (20A4299v)</h3>
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/showcase/110BigSurDP1MacPro71.png"><img src="../../showcase/110BigSurDP1MacPro71.png" alt=""></a>
<hr>

<h3 align="center">Mac OS X 10.16 (AppleInternal GoldenGateSpike 20A2314a)</h3>
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/showcase/1016CataSurMacPro71.png"><img src="../../showcase/1016CataSurMacPro71.png" alt=""></a>
<hr>

<h3 align="center">Mac OS X Catalina 10.15.7</h3>
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/showcase/ProMacCatalina.png"><img src="../../showcase/ProMacCatalina.png" alt=""></a>
<hr>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ permalink: /
</p>

<h3 class="tagline">An Advanced Guide for running macOS within QEMU/KVM</h3>
<h5 class="help-text">If you run into any issues, you can join the <a href="https://discord.gg/ryQFC8Vk7b">DarwinKVM</a> Discord server! Feel free to ping the <span style="color: #d48dff;">@Helpers</span> role within a help channel for support. <a href="https://github.com/royalgraphx/Hexley">Hexley</a> provides our discord users with a multitude of commands to assist anyone who may need specific actions performed.</h5>
<h5 class="help-text">If you run into any issues, you can join the <a href="https://discord.gg/ryQFC8Vk7b">DarwinKVM</a> Discord server! Feel free to ping the <span style="color: #d48dff;">@Helpers</span> role within a help channel for support. Hexley provides our discord users with a multitude of commands to assist anyone who may need specific actions performed.</h5>
<div style="display: flex; justify-content: center; align-items: center;">
<iframe src="https://discord.com/widget?id=1131552514412654683&theme=dark" width="400" height="300" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</div>
Expand Down
Binary file added docs/showcase/1016CataSurMacPro71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/showcase/110BigSurDP1MacPro71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 30 additions & 35 deletions push.sh
Original file line number Diff line number Diff line change
@@ -1,44 +1,39 @@
#!/bin/bash

git add --all
echo "Enter Commit Details:"
read varcommit

coauthors=()
add_coauthor() {
echo "Do you want to add a Co-Author? (yes/no)"
read response

if [ "$response" = "yes" ]; then
echo "Enter Co-Author's Name:"
read author_name
echo "Enter Co-Author's Email:"
read author_email

coauthors+=("Co-authored-by: $author_name <$author_email>")

add_coauthor # Recursive call for adding more co-authors
# Function to check if the current branch tracks a remote branch
check_tracking() {
if git rev-parse --abbrev-ref --symbolic-full-name @{u} &> /dev/null; then
return 0
else
echo "The current branch does not track a remote branch. Please set the upstream branch using:"
echo "git branch --set-upstream-to=<remote>/<branch> <branch>"
exit 1
fi
}

add_coauthor
# Function to check if there are uncommitted changes
check_uncommitted_changes() {
if ! git diff-index --quiet HEAD --; then
echo "You have uncommitted changes. Please commit them before pushing."
exit 1
fi
}

# Construct the commit message with co-authors
commit_message="$varcommit"
for coauthor in "${coauthors[@]}"; do
commit_message+=""$'\n'$'\n'"$coauthor"
done
# Function to attempt to push changes
attempt_push() {
if git push; then
echo "Changes pushed to the remote repository successfully."
else
echo "Failed to push changes. Please check your connection and remote repository status."
exit 1
fi
}

if [ "${#coauthors[@]}" -gt 0 ]; then
git commit -m "$commit_message"
else
git commit -m "$varcommit"
fi
# Check if the current branch tracks a remote branch
check_tracking

git push
# Check for uncommitted changes
check_uncommitted_changes

if [ "${#coauthors[@]}" -gt 0 ]; then
echo "Commit \"$varcommit\" with co-authors pushed successfully."
else
echo "Commit \"$varcommit\" pushed successfully."
fi
# Attempt to push changes
attempt_push
Binary file added showcase/1016CataSurMacPro71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added showcase/110BigSurDP1MacPro71.png
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 8820d3c

Please sign in to comment.