Skip to content

Commit

Permalink
Add changelog and include it in the stickies shown on the desktop.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaip committed Sep 8, 2022
1 parent 5be16f6 commit 6b04758
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,17 @@
# CHANGELOG

2022-09-07: Stickies are now generated as part of the image building process (and include this changelog).

2022-08-20: Monitor resolution is now dynamic based on the initial window size (ranging from 1600x1200 to 640x480) and can be changed from the Control Strip.

2022-08-09: "Uploaded" .zip files and folders can be dragged back into the emulator window, where they will be reconstituted with metadata and resource forks.

2022-08-07: Text clipboard syncing support - copy from your browser and paste into the emulator, and vice-versa.

2022-07-26: AppleTalk networking support! See https://blog.persistent.info/2022/07/infinite-mac-networking.html for more details.

2022-04-17: Add KanjiTalk 7.5.3 boot image (hosted at kanjitalk7.app).

2022-04-09: Add support for dragging in and mounting CD-ROM images.

2022-03-31: Initial launch! See https://blog.persistent.info/2022/03/blog-post.html.
15 changes: 13 additions & 2 deletions scripts/import-disks.py
Expand Up @@ -438,9 +438,12 @@ def copy_system_image(name: str,
for p in stickies_path:
stickies_file = stickies_file[p]
customized_stickies = copy.deepcopy(STICKIES)
with open("CHANGELOG.md", "r") as changelog_file:
changelog = changelog_file.read()
if welcome_sticky_override:
customized_stickies[-1] = copy.deepcopy(welcome_sticky_override)
for sticky in customized_stickies:
sticky.text = sticky.text.replace("CHANGELOG", changelog)
sticky.text = sticky.text.replace("DOMAIN", domain)
sticky.text = sticky.text.replace("SISTER_SITES",
" and ".join(sister_sites))
Expand Down Expand Up @@ -527,6 +530,14 @@ def build_desktop_db(image: bytes, base_name: str) -> bytes:


STICKIES = [
stickies.Sticky(
top=196,
left=612,
bottom=312,
right=794,
color=stickies.Color.GRAY,
text="CHANGELOG",
),
stickies.Sticky(
top=300,
left=444,
Expand Down Expand Up @@ -561,9 +572,9 @@ def build_desktop_db(image: bytes, base_name: str) -> bytes:
),
stickies.Sticky(
top=187,
left=508,
left=438,
bottom=299,
right=684,
right=614,
color=stickies.Color.GREEN,
text=
"""A project to have an easily browsable collection of classic Macintosh software from the comfort of a (modern) web browser.
Expand Down

0 comments on commit 6b04758

Please sign in to comment.