use digits auth
file creation
amend docs
copy url to clipboard
ws
tooltips everywhere
quick creation of file
more elegant public url retrieval
amend build script for win32

diff --git a/7zsfxbuilder.txt b/7zsfxbuilder.txt
new file mode 100644
index 0000000..042a184
--- /dev/null
+++ b/7zsfxbuilder.txt
@@ -0,0 +1,13 @@
+﻿;!@Install@!UTF-8!
+InstallPath="%ProgramFiles%\\UpYunManager"
+Title="又拍云资源管理器"
+BeginPrompt="即将开始安装又拍云资源管理器"
+RunProgram="hidcon:fm0:\"%%T\\registerurl.cmd\" /Q"
+RunProgram="\"%%T\\UpYunManager.exe\""
+Shortcut="Du,{%%T\UpYunManager.exe},{},{},{},{又拍云资源管理器},{%%T},{},{}"
+;Config file generated by 7z SFX Builder v2.1. (http://sourceforge.net/projects/s-zipsfxbuilder/)
+;!@InstallEnd@!
+7zSFXBuilder_7zArchive=y:\manager_for_upyun\nodebob\manager-for-upyun-win32.7z
+7zSFXBuilder_SFXModule=C:\Program Files (x86)\7z SFX Builder\3rdParty\Modules\7zsd_All.sfx
+7zSFXBuilder_SFXName=y:\manager_for_upyun\nodebob\manager-for-upyun--win32.exe
+7zSFXBuilder_SFXIcon=y:\manager_for_upyun\source\app.ico
diff --git a/build.bat b/build.bat
new file mode 100755
index 0000000..ce435bc
--- /dev/null
+++ b/build.bat
@@ -0,0 +1,10 @@
+cd nodebob
+del /Q release
+call build.bat
+copy ..\registerurl.cmd release\registerurl.cmd
+del /Q manager-for-upyun-win32.7z
+cd release
+rename nw.exe UpYunManager.exe
+..\buildTools\7z\7z.exe a ..\manager-for-upyun-win32.7z *
+cd ..
+call "c:\Program Files (x86)\7z SFX Builder\7z SFX Builder.exe" y:\manager_for_upyun\7zsfxbuilder.txt
diff --git a/build.sh b/build.sh
index 6964e00..81f049b 100755
--- a/build.sh
+++ b/build.sh
@@ -13,19 +13,15 @@ pkg.main = 'index.html';
 pkg.window.toolbar = false;
 require('fs').writeFileSync('nodebob/app/package.json', JSON.stringify(pkg), 'utf8');
 EOF
-cp -f ./build.win32.sh nodebob/build.win32.sh
 cd nodebob
 rm -Rf release.* manager-for-upyun-*
 ./build.linux.sh
 ./build.osx.sh
-./build.win32.sh
 mv release.linux-ia32/app release.linux-ia32/upyun_manager
 mv release.linux-x64/app release.linux-x64/upyun_manager
-mv release.win32/app.exe release.win32/UpYunManager.exe
 mv release.osx/app.app release.osx/UpYun\ Manager.app

 cd release.linux-ia32 && zip -r ../manager-for-upyun-$VERSION-linux-ia32.zip * && cd ..
 cd release.linux-x64 && zip -r ../manager-for-upyun-$VERSION-linux-x64.zip * && cd ..
 cd release.osx && zip -r ../manager-for-upyun-$VERSION-osx.zip * && cd ..
-cd release.win32 && zip -r ../manager-for-upyun-$VERSION-win32.zip * && cd ..

diff --git a/build.win32.sh b/build.win32.sh
deleted file mode 100755
index b5163f2..0000000
--- a/build.win32.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash -e
-echo "nodebob v0.1"
-echo "---"
-echo
-CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
-
-echo "Creating bundle for win32..."
-mkdir -p release.win32
-rm -f release.win32/app.nw
-zip -b app -r release.win32/app.nw app/*
-cat buildTools/nw/nw.exe release.win32/app.nw > release.win32/app.exe
-if [ ! -f release.win32/nw.pak ]; then
-  cp buildTools/nw/nw.pak release.win32/nw.pak
-fi
-if [ ! -f release.win32/ffmpegsumo.dll ]; then
-  cp buildTools/nw/ffmpegsumo.dll release.win32/ffmpegsumo.dll
-fi
-if [ ! -f release.win32/icudt.dll ]; then
-  cp buildTools/nw/icudt.dll release.win32/icudt.dll
-fi
-if [ ! -f release.win32/libEGL.dll ]; then
-  cp buildTools/nw/libEGL.dll release.win32/libEGL.dll
-fi
-if [ ! -f release.win32/libGLESv2.dll ]; then
-  cp buildTools/nw/libGLESv2.dll release.win32/libGLESv2.dll
-fi
-
-echo "Deleting temporary files..."
-rm -f release.win32/app.nw
-echo "Done!"
diff --git a/package.json b/package.json
index a0d98f3..e5fe383 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,7 @@
   "name": "manager_for_upyun",
   "main": "http://localhost:4567",
   "node-remote": "http://localhost:4567",
+  "single-instance": false,
   "version": "0.0.3",
   "window": {
     "icon": "app.ico",
diff --git a/registerurl.cmd b/registerurl.cmd
new file mode 100644
index 0000000..1523f4b
--- /dev/null
+++ b/registerurl.cmd
@@ -0,0 +1,5 @@
+set CUR_DIR="%CD%"
+REG ADD HKCR\upyun /f /ve /d "URL:UpYun Protocol"
+REG ADD HKCR\upyun /f /v "URL Protocol" /d ""
+REG ADD HKCR\upyun\DefaultIcon /f /ve /d """%CUR_DIR%\UpYunManager.exe"",2"
+REG ADD HKCR\upyun\shell\open\command /f /ve /d """%CUR_DIR%\UpYunManager.exe"" ""%%1"""
diff --git a/source/Info.plist b/source/Info.plist
index 3bbf6b6..46732fd 100644
--- a/source/Info.plist
+++ b/source/Info.plist
@@ -2,92 +2,105 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleDisplayName</key>
-  <string>node-webkit</string>
-  <key>CFBundleDocumentTypes</key>
-  <array>
-    <dict>
-      <key>CFBundleTypeIconFile</key>
-      <string>nw.icns</string>
-      <key>CFBundleTypeName</key>
-      <string>node-webkit App</string>
-      <key>CFBundleTypeRole</key>
-      <string>Viewer</string>
-      <key>LSHandlerRank</key>
-      <string>Owner</string>
-      <key>LSItemContentTypes</key>
-      <array>
-        <string>com.intel.nw.app</string>
-      </array>
-    </dict>
-    <dict>
-      <key>CFBundleTypeName</key>
-      <string>Folder</string>
-      <key>CFBundleTypeOSTypes</key>
-      <array>
-        <string>fold</string>
-      </array>
-      <key>CFBundleTypeRole</key>
-      <string>Viewer</string>
-      <key>LSHandlerRank</key>
-      <string>None</string>
-    </dict>
-  </array>
-  <key>CFBundleExecutable</key>
-  <string>node-webkit</string>
-  <key>CFBundleIconFile</key>
-  <string>nw.icns</string>
-  <key>CFBundleIdentifier</key>
-  <string>com.intel.nw</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>又拍云资源管理器</string>
-  <key>CFBundlePackageType</key>
-  <string>APPL</string>
-  <key>CFBundleShortVersionString</key>
-  <string>30.0.1599.66</string>
-  <key>CFBundleVersion</key>
-  <string>1599.66</string>
-  <key>LSFileQuarantineEnabled</key>
-  <true/>
-  <key>LSMinimumSystemVersion</key>
-  <string>10.6.0</string>
-  <key>NSPrincipalClass</key>
-  <string>NSApplication</string>
-  <key>NSSupportsAutomaticGraphicsSwitching</key>
-  <true/>
-  <key>SCMRevision</key>
-  <string>222137</string>
-  <key>UTExportedTypeDeclarations</key>
-  <array>
-    <dict>
-      <key>UTTypeConformsTo</key>
-      <array>
-        <string>com.pkware.zip-archive</string>
-      </array>
-      <key>UTTypeDescription</key>
-      <string>node-webkit App</string>
-      <key>UTTypeIconFile</key>
-      <string>nw.icns</string>
-      <key>UTTypeIdentifier</key>
-      <string>com.intel.nw.app</string>
-      <key>UTTypeReferenceURL</key>
-      <string>https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps</string>
-      <key>UTTypeTagSpecification</key>
-      <dict>
-        <key>com.apple.ostype</key>
-        <string>node-webkit</string>
-        <key>public.filename-extension</key>
-        <array>
-          <string>nw</string>
-        </array>
-        <key>public.mime-type</key>
-        <string>application/x-node-webkit-app</string>
-      </dict>
-    </dict>
-  </array>
+	<key>CFBundleURLTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleURLName</key>
+			<string>in.micy.manager_for_upyun</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>upyun</string>
+			</array>
+		</dict>
+	</array>
+	<key>CFBundleGetInfoString</key>
+	<string></string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleDisplayName</key>
+	<string>node-webkit</string>
+	<key>CFBundleDocumentTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeIconFile</key>
+			<string>nw.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>node-webkit App</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSHandlerRank</key>
+			<string>Owner</string>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.intel.nw.app</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeName</key>
+			<string>Folder</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>fold</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSHandlerRank</key>
+			<string>None</string>
+		</dict>
+	</array>
+	<key>CFBundleExecutable</key>
+	<string>node-webkit</string>
+	<key>CFBundleIconFile</key>
+	<string>nw.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.intel.nw</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>又拍云资源管理器</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>30.0.1599.66</string>
+	<key>CFBundleVersion</key>
+	<string>1599.66</string>
+	<key>LSFileQuarantineEnabled</key>
+	<true/>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.6.0</string>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+	<key>NSSupportsAutomaticGraphicsSwitching</key>
+	<true/>
+	<key>SCMRevision</key>
+	<string>222137</string>
+	<key>UTExportedTypeDeclarations</key>
+	<array>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>com.pkware.zip-archive</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>node-webkit App</string>
+			<key>UTTypeIconFile</key>
+			<string>nw.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>com.intel.nw.app</string>
+			<key>UTTypeReferenceURL</key>
+			<string>https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>node-webkit</string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>nw</string>
+				</array>
+				<key>public.mime-type</key>
+				<string>application/x-node-webkit-app</string>
+			</dict>
+		</dict>
+	</array>
 </dict>
 </plist>
diff --git a/source/app.ico b/source/app.ico
index 96f1778..82c6354 100644
Binary files a/source/app.ico and b/source/app.ico differ
add sharing
put nodebob here
0.0.4 released
do not auto start
amend build script
amend doc