Commits

rcmarvin committed b94bd77 Merge

Add path for novacom of WebOS SDK 3

Comments (0)

Files changed (3)

 		<br>
 		<label for="m">message:<br><textarea id="m"></textarea></label>
 	</div>
-	<div style="position: fixed; bottom: 0; left: 0; background-color: white; border-top: 1px black solid; width: 100%;font-size: 0.9em">Last updated: 2 June 2011;version 0.4.7</div>
+	<div style="position: fixed; bottom: 0; left: 0; background-color: white; border-top: 1px black solid; width: 100%;font-size: 0.9em">Last updated: 14 Sep 2011;version 0.4.8</div>
 </div>
 </body>
 </html>
   sms.db8 - Open Source assistant for migration of SMS from db3 to db8
   Author: rcmarvin
   Web: https://bitbucket.org/rcmarvin/sms.db8
-  Version: 0.4.6
+  Version: 0.4.7
 
   The MIT License - Copyright (c) 2011 
 */
 			content+="\nluna-send -n 1 -a com.palm.app.messaging luna://com.palm.db/put $'"+'{"objects":';
 			// avoid "Argument list too long" error when command executed on shell
 			// by inserting 100 message at a time
-			// the max length should be 2097152, shared by 100 message, each message can have maximum of ~20KiB
-			content+=convertToUTF16(JSON.stringify(messages.splice(0,100))).replace(/'/g,"\\'");
+			// the max length should be 2097152, shared by 25 message, each message can have maximum of ~81KiB
+			content+=convertToUTF16(JSON.stringify(messages.splice(0,25))).replace(/'/g,"\\'");
 			content+='}'+"' | sed -r -e"+' "s/^/ins2Result.push(/" | sed -r -e "s/$/)/" >>ins2.sh.json.js';
 		}
 		content+="\n\ncat ins2.sh.json.js\n";
 
 if exist "C:\Program Files\Palm, Inc\novacom.exe" set novacom=C:\Program Files\Palm, Inc\novacom.exe
 if exist "C:\Program Files(x86)\Palm, Inc\novacom.exe" set novacom=C:\Program Files(x86)\Palm, Inc\novacom.exe
+if exist "C:\Program Files\HP webOS\SDK\bin\novacom.exe" set novacom=C:\Program Files(x86)\HP webOS\SDK\bin\novacom.exe
+if exist "C:\Program Files(x86)\HP webOS\SDK\bin\novacom.exe" set novacom=C:\Program Files(x86)\HP webOS\SDK\bin\novacom.exe
 
 if "%novacom%"=="" call "%~dp0lib\error.bat" [ERROR] novacom not found!
 if not "%novacom%"=="" echo [INFO] novacom found = %novacom%