From 01380d587281252d45691cc65ee197349bf9c9f4 Mon Sep 17 00:00:00 2001 From: Vincent Tamet Date: Mon, 3 Apr 2023 03:12:10 +0200 Subject: [PATCH] Add GLIM icon on the desktop when GLIM USB is mounted. --- autorun/AUTORUN.INF | 3 +++ autorun/invader.ico | Bin 0 -> 145342 bytes glim.sh | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 autorun/AUTORUN.INF create mode 100644 autorun/invader.ico diff --git a/autorun/AUTORUN.INF b/autorun/AUTORUN.INF new file mode 100644 index 0000000..0023268 --- /dev/null +++ b/autorun/AUTORUN.INF @@ -0,0 +1,3 @@ +[autorun] +label=GLIM +icon=invader.ico diff --git a/autorun/invader.ico b/autorun/invader.ico new file mode 100644 index 0000000000000000000000000000000000000000..1a7601dbee870b675b52f8264b3c2dd08dbeaa88 GIT binary patch literal 145342 zcmeHNF_zpm6q8e>OP4xjZjd%d^HEafK52ajm+m&h-H`{&k(NUOf9Fet^6dQ-^&tQs zl%2dR%a_YP-~L%HzyGoP``0ha@5{3MdHMD2^6T#}Z}%^yub&RQ{I@KsUjos032h@2{b$7&)NZNysqxf$jhD*-bzanXYPZz<)Oc#W#>?e^IxlKGwOeX_YCN@G zG{8k_RbIgJ4 z^HuXxbzvxO?DJLgQ{$=glAWJg z?`(M4=d0$Y##84dJ3qDF+3>Q@SItk2r_M`uermn5;bot%nx7g^otNzV)Ou&b%RXN< zKQ*2@FWLF2_0EQueZFdbYCLsbvh!2xoeeMheAWEac?8(#MLs`;t$)OpFy zPpx-0yzKK;^Hbxg^OBvPTJLOl+2@;`-)woYUOUj^K=$*i=4ZTR8TFv#YP5H&F9NS8 z`;R=k#e4Lg^>X=%@NaaMTYWR~d*lrDJhSEN=)H(}^k{kH*->p+8|ede(Z+pTAZHdiEpo()0e-vwLTTx!-zc&whk|jJB=b9zCsRBlNc3 z*|Tqc{P%AwL(ILN`L&*nm@lJktGA`0XFo!3&-+`?nxD^GDoUgKk{X3>pg$|*ol@y)U*6L5eCt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}eFqr->)!phc;{IT)H7n%&(d(F_cH$1y=U^} zEL!RrG3&E<@=P6!|8?&(b@<)e4%9PZ*4uCJ-5v)R|LfkK_xjn-aiE?Nv;G{$=Y9+0 zf8Bd-r;e$vo)NP?rUSWHGyd1Txs;hraiE?Nv$mtW1C0N5FVDsZY6t2WF>5uq8SxnZ z>)sjt%dWYe5wp&&^$7eJ|Lfi(=$(yYJtJm4n|Bd<8UO3v2!6)o9H?i+tT`s`E)FpM z*S&T$p9A%bm~}pN$796!U-uqQ{rMT!Gh)`~cPm~Y7&(?3~b)cRRv+jMjpTBp2 z@xSi9NB5m)J5bMvSwCCL8Q#zMU-zEDkF#m0XT+?}=FKzoF#gxQ&*1NOe(XR!BWC^a zo4jiW?7%z@yu4jMmgVd6+sn(><=4x9eSf>Yd+%jtU#{bS_v8CDC6}n&uIs%uLEgJs zGm9^`B-~YNUM^pi*H6p!x7RPtniuc=G-nQ9?ox8Qamh;+huiX9f^N58EAMR^cM4x_ z@wlrle@A)uM>PH=#(Ot6Zq>`n1iswmWWDkBciOwN^7>a6@6GJXnvnND-!k#~k-2VM rJ~!9Odvp8pJ}Gaj^&4{k??A8L-OEF-U*cQqb?Lsd`*IsOR^R^zGtI?h literal 0 HcmV?d00001 diff --git a/glim.sh b/glim.sh index dfd99a8..23a4ac5 100755 --- a/glim.sh +++ b/glim.sh @@ -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."