Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the GLIM icon on the desktop when GLIM USB is mounted. #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions autorun/AUTORUN.INF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[autorun]
label=GLIM
icon=invader.ico
Binary file added autorun/invader.ico
Binary file not shown.
8 changes: 8 additions & 0 deletions glim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@ if [[ $? -ne 0 ]]; then
exit 1
fi

# Copy autorun files
echo "Running rsync -rpt autorun/ ${USBMNT}/ ..."
${CMD_PREFIX} rsync -rpt autorun/ ${USBMNT}/
if [[ $? -ne 0 ]]; then
echo "ERROR: the rsync copy returned with an error exit status."
exit 1
fi

# Be nice and pre-create the directory, and mention it
[[ -d ${USBMNT}/boot/iso ]] || ${CMD_PREFIX} mkdir ${USBMNT}/boot/iso
echo "GLIM installed! Time to populate the boot/iso directory."
Expand Down