[phodav] spice: add map-drive.bat helper
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav] spice: add map-drive.bat helper
- Date: Tue, 25 Feb 2014 15:03:52 +0000 (UTC)
commit 8638498e855e79f1146fffc1e5e7e77fe7fe5147
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Tue Feb 25 16:03:08 2014 +0100
spice: add map-drive.bat helper
spice-webdavd.wxs.in | 3 +++
spice/Makefile.am | 2 ++
spice/map-drive.bat | 3 +++
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/spice-webdavd.wxs.in b/spice-webdavd.wxs.in
index 50ae957..090395d 100644
--- a/spice-webdavd.wxs.in
+++ b/spice-webdavd.wxs.in
@@ -66,6 +66,9 @@
<Component Id="CDepsTxt" Guid="*">
<File Id='depstxt' Name='deps.txt' DiskId='1' Source='deps.txt' KeyPath='yes'/>
</Component>
+ <Component Id="CMapDrive" Guid="*">
+ <File Id='mapdrive' Name='map-drive.bat' DiskId='1' Source='@srcdir@/spice/map-drive.bat'
KeyPath='yes'/>
+ </Component>
</Directory>
</Directory>
</Directory>
diff --git a/spice/Makefile.am b/spice/Makefile.am
index ae44c94..47416be 100644
--- a/spice/Makefile.am
+++ b/spice/Makefile.am
@@ -1 +1,3 @@
+EXTRA_DIST = map-drive.bat
+
-include $(top_srcdir)/git.mk
diff --git a/spice/map-drive.bat b/spice/map-drive.bat
new file mode 100644
index 0000000..efcfd39
--- /dev/null
+++ b/spice/map-drive.bat
@@ -0,0 +1,3 @@
+net use * http://localhost:9843/
+
+REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\##localhost 9843#DavWWWRoot"
/v "_LabelFromReg" /t REG_SZ /d "Spice client" /f
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]