mirror of
				https://github.com/Foundry376/Mailspring.git
				synced 2025-10-25 21:46:31 +08:00 
			
		
		
		
	Summary: - We now build sqlite3 manually from source in script/bootstrap - We now allow queries to run in parallel outside of transaction blocks - When signining in and out, the main window creates the database file and then advances the database "phase", which allows all the windows to connect to the initialized database. This diff also fixes T2411 where popout drafts opened twice, and several issues around Windows icons and install. Test Plan: Run existing tests Reviewers: evan Reviewed By: evan Maniphest Tasks: T2411 Differential Revision: https://phab.nylas.com/D1815
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
| @echo off
 | |
| 
 | |
| set USAGE=Usage: %0 source name-on-desktop
 | |
| 
 | |
| if [%1] == [] (
 | |
|   echo %USAGE%
 | |
|   exit 1
 | |
| )
 | |
| if [%2] == [] (
 | |
|   echo %USAGE%
 | |
|   exit 2
 | |
| )
 | |
| 
 | |
| set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"
 | |
| 
 | |
| echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
 | |
| echo sLinkFile = "%USERPROFILE%\Desktop\%2.lnk" >> %SCRIPT%
 | |
| echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
 | |
| echo oLink.TargetPath = %1 >> %SCRIPT%
 | |
| echo oLink.IconLocation = %3 >> %SCRIPT%
 | |
| echo oLink.Save >> %SCRIPT%
 | |
| 
 | |
| cscript /nologo %SCRIPT%
 | |
| del %SCRIPT%
 |