Skip to content

Commit

Permalink
Build: Restore READ.ME line endings after twiddling them
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Mar 5, 2021
1 parent 3ca99d9 commit 4684749
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ suppress cadius CREATEFOLDER "$INSTALL_IMG" "$INSTALL_PATH" --quiet --no-case-bi

perl -p -i -e 's/\r?\n/\r/g' "res/package/READ.ME" # Ensure Apple line endings
add_file "$INSTALL_IMG" "res/package/READ.ME" "$INSTALL_PATH" "Read.Me" 040000
perl -p -i -e 's/\r/\n/g' "res/package/READ.ME" # Restore Unix line endings

add_file "$INSTALL_IMG" "desktop.system/out/desktop.system.SYS" "$INSTALL_PATH" "DeskTop.system" FF0000
add_file "$INSTALL_IMG" "desktop/out/desktop.built" "$INSTALL_PATH" "DeskTop2" F10000
Expand Down
1 change: 1 addition & 0 deletions bin/mount
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cecho yellow "Copying files to $MOUNT_DIR/"

perl -p -i -e 's/\r?\n/\r/g' "res/package/READ.ME" # Ensure Apple line endings
add_file "res/package/READ.ME" "READ.ME" 040000
perl -p -i -e 's/\r/\n/g' "res/package/READ.ME" # Restore Unix line endings

add_file "desktop.system/out/desktop.system.SYS" "DESKTOP.SYSTEM" FF0000
add_file "desktop/out/desktop.built" "DESKTOP2" F10000
Expand Down
1 change: 1 addition & 0 deletions bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ fi
perl -p -i -e 's/\r?\n/\r/g' "res/package/READ.ME" # Ensure Apple line endings
add_file $IMGFILE_COMPLETE "res/package/READ.ME" "/$VOLNAME_COMPLETE" "Read.Me" 040000
add_file $IMGFILE_PART1 "res/package/READ.ME" "/$VOLNAME_PART1" "Read.Me" 040000
perl -p -i -e 's/\r/\n/g' "res/package/READ.ME" # Restore Unix line endings

add_file $IMGFILE_COMPLETE "desktop.system/out/desktop.system.SYS" "/$VOLNAME_COMPLETE" "DeskTop.system" FF0000
add_file $IMGFILE_PART1 "desktop.system/out/desktop.system.SYS" "/$VOLNAME_PART1" "DeskTop.system" FF0000
Expand Down
2 changes: 2 additions & 0 deletions bin/shk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ cecho yellow "Copying files..."

perl -p -i -e 's/\r?\n/\r/g' "res/package/READ.ME" # Ensure Apple line endings
add_file "res/package/READ.ME" "READ.ME" 040000
perl -p -i -e 's/\r/\n/g' "res/package/READ.ME" # Restore Unix line endings


add_file "desktop.system/out/desktop.system.SYS" "DESKTOP.SYSTEM" FF0000
add_file "desktop/out/desktop.built" "DESKTOP2" F10000
Expand Down
19 changes: 18 additions & 1 deletion res/package/READ.ME
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
For more information about Apple II DeskTop, visit: https://a2desktop.comFull documentation can be found at: https://a2desktop.com/docsReleases can be found at: https://github.com/a2stuff/a2d/releasesTranslations thanks to: Italian - The Dipo French - Brutal Deluxe Spanish - Javmaster German - Mathias Grunner
For more information about Apple II DeskTop, visit:

https://a2desktop.com

Full documentation can be found at:

https://a2desktop.com/docs

Releases can be found at:

https://github.com/a2stuff/a2d/releases

Translations thanks to:

Italian - The Dipo
French - Brutal Deluxe
Spanish - Javmaster
German - Mathias Grunner

0 comments on commit 4684749

Please sign in to comment.