From: Christian Hofstaedtler Date: Sun, 11 Dec 2011 02:03:20 +0000 (+0100) Subject: Modernize Windows AutoRun templates X-Git-Tag: v0.17.1~64 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=b89381a0cf47ea5da29b028fa43f7173b908341e Modernize Windows AutoRun templates Windows 2000 and newer don't need a workaround for calling ShellExecute. --- 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 d0201c8..0000000 Binary files a/templates/windows/autostart/autorun.pif and /dev/null differ