Modernize Windows AutoRun templates
authorChristian Hofstaedtler <ch@grml.org>
Sun, 11 Dec 2011 02:03:20 +0000 (03:03 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Sun, 11 Dec 2011 02:03:20 +0000 (03:03 +0100)
Windows 2000 and newer don't need a workaround for calling
ShellExecute.

templates/windows/autostart/autorun.bat [deleted file]
templates/windows/autostart/autorun.inf
templates/windows/autostart/autorun.pif [deleted file]

diff --git a/templates/windows/autostart/autorun.bat b/templates/windows/autostart/autorun.bat
deleted file mode 100755 (executable)
index 9d603fa..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo Loading "index.html"...\r
-@start GRML/index.html\r
-@exit\r
index ed99086..8f564cd 100755 (executable)
@@ -1,3 +1,3 @@
 [autorun]\r
-open=autorun.bat\r
+ShellExecute=GRML/index.html\r
 icon=cdrom.ico\r
diff --git a/templates/windows/autostart/autorun.pif b/templates/windows/autostart/autorun.pif
deleted file mode 100755 (executable)
index d0201c8..0000000
Binary files a/templates/windows/autostart/autorun.pif and /dev/null differ