From b89381a0cf47ea5da29b028fa43f7173b908341e Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Sun, 11 Dec 2011 03:03:20 +0100 Subject: [PATCH 1/1] Modernize Windows AutoRun templates Windows 2000 and newer don't need a workaround for calling ShellExecute. --- templates/windows/autostart/autorun.bat | 3 --- templates/windows/autostart/autorun.inf | 2 +- templates/windows/autostart/autorun.pif | Bin 967 -> 0 bytes 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100755 templates/windows/autostart/autorun.bat delete mode 100755 templates/windows/autostart/autorun.pif diff --git a/templates/windows/autostart/autorun.bat b/templates/windows/autostart/autorun.bat deleted file mode 100755 index 9d603fa..0000000 --- a/templates/windows/autostart/autorun.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo Loading "index.html"... -@start GRML/index.html -@exit diff --git a/templates/windows/autostart/autorun.inf b/templates/windows/autostart/autorun.inf index ed99086..8f564cd 100755 --- a/templates/windows/autostart/autorun.inf +++ b/templates/windows/autostart/autorun.inf @@ -1,3 +1,3 @@ [autorun] -open=autorun.bat +ShellExecute=GRML/index.html icon=cdrom.ico diff --git a/templates/windows/autostart/autorun.pif b/templates/windows/autostart/autorun.pif deleted file mode 100755 index d0201c88f0cd411851ecd794cf2635ae18cb7266..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 967 zcmZRma10Ic4+`~Dzz!Oi7#N)Mb8{2(QuLDZa~Xgt^_(0-7)SsDB&em4QbvaVk^u}1 z>@+f-6k~loorC;?{oO(o0zBPZBN*Bl85jx~!#(|6{KJD4j4jL*jP(o{SefQBW-x#P zKZU`F;s1XIFlG`EVvr}rG9uN&Y!CDGRWJeC{{O!;(;A?=Xaj)$_H_@^bMf(^mifS7 zf&(K4WQT*;tPGM2%nTs7}&r#B(*3vGcPd*ZU`E~Ilr_hGqp&; mFSQ&^2F7IuG6I117&GaBtrvqyV9?O)MrtO)Fb7$HkpTc+Tr@HO -- 2.1.4