@@ -45,7 +45,7 @@ echo %ESC%[36mC)%ESC%[97m Lumia 1020 AT^&T %ESC%[0m[Will not be used in the Ins
4545echo %ESC% [36mD)%ESC% [97m Lumia 950
4646echo %ESC% [36mE)%ESC% [97m Lumia 950 XL
4747set /p Model = %ESC%[92mDevice%ESC%[92m: %ESC%[0m
48- if " %model % " == " " goto ChooseDev
48+ if " %Model % " == " " goto ChooseDev
4949:: ------------------------------------------------------------------
5050set SVNLoc = " %~dp0 \Files\DownloaderFiles\svn"
5151set WGETLoc = " %~dp0 \Files\DownloaderFiles\wget"
@@ -60,7 +60,7 @@ if not exist Drivers\ mkdir Drivers
6060cd Drivers\
6161if not exist README.md %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/README.md
6262title Downloading Drivers ...
63- if %Model% == 1 (
63+ if " %Model% " == " 1 " (
6464 if exist Lumia930\ goto OldExist
6565 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/930.txt
6666 title Downloading Drivers ...
@@ -71,7 +71,7 @@ if %Model%==1 (
7171 )
7272 del 930.txt
7373)
74- if %Model% == 2 (
74+ if " %Model% " == " 2 " (
7575 if exist LumiaIcon\ goto OldExist
7676 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/icon.txt
7777 title Downloading Drivers ...
@@ -82,7 +82,7 @@ if %Model%==2 (
8282 )
8383 del icon.txt
8484)
85- if %Model% == 3 (
85+ if " %Model% " == " 3 " (
8686 if exist Lumia1520\ goto OldExist
8787 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1520upsidedown.txt
8888 title Downloading Drivers ...
@@ -93,7 +93,7 @@ if %Model%==3 (
9393 )
9494 del 1520upsidedown.txt
9595)
96- if %Model% == 4 (
96+ if " %Model% " == " 4 " (
9797 if exist Lumia1520-AT^ &T\ goto OldExist
9898 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1520attupsidedown.txt
9999 title Downloading Drivers ...
@@ -104,7 +104,7 @@ if %Model%==4 (
104104 )
105105 del 1520attupsidedown.txt
106106)
107- if %Model% == 5 (
107+ if " %Model% " == " 5 " (
108108 if exist Lumia830\ goto OldExist
109109 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/830.txt
110110 title Downloading Drivers ...
@@ -115,7 +115,7 @@ if %Model%==5 (
115115 )
116116 del 830.txt
117117)
118- if %Model% == 6 (
118+ if " %Model% " == " 6 " (
119119 if exist Lumia735\ goto OldExist
120120 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/735.txt
121121 title Downloading Drivers ...
@@ -126,7 +126,7 @@ if %Model%==6 (
126126 )
127127 del 735.txt
128128)
129- if %Model% == 7 (
129+ if " %Model% " == " 7 " (
130130 if exist Lumia640XL\ goto OldExist
131131 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/640xl.txt
132132 title Downloading Drivers ...
@@ -137,7 +137,7 @@ if %Model%==7 (
137137 )
138138 del 640xl.txt
139139)
140- if %Model% == 8 (
140+ if " %Model% " == " 8 " (
141141 if exist Lumia640XL-AT^ &T\ goto OldExist
142142 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/640xlatt.txt
143143 title Downloading Drivers ...
@@ -148,7 +148,7 @@ if %Model%==8 (
148148 )
149149 del 640xlatt.txt
150150)
151- if %Model% == A (
151+ if /I " %Model% " == " A " (
152152 if exist Lumia920\ goto OldExist
153153 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/920.txt
154154 title Downloading Drivers ...
@@ -159,7 +159,7 @@ if %Model%==A (
159159 )
160160 del 920.txt
161161)
162- if %Model% == B (
162+ if /I " %Model% " == " B " (
163163 if exist Lumia1020\ goto OldExist
164164 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1020.txt
165165 title Downloading Drivers ...
@@ -170,7 +170,7 @@ if %Model%==B (
170170 )
171171 del 1020.txt
172172)
173- if %Model% == C (
173+ if /I " %Model% " == " C " (
174174 if exist Lumia1020-AT^ &T\ goto OldExist
175175 %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1020att.txt
176176 title Downloading Drivers ...
@@ -181,108 +181,7 @@ if %Model%==C (
181181 )
182182 del 1020att.txt
183183)
184- if %Model% == a (
185- if exist Lumia920\ goto OldExist
186- %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/920.txt
187- title Downloading Drivers ...
188- for /F " tokens=*" %%A IN (920.txt) do (
189- set Drv = %%A
190- set DrvUrl = !Drv:\ =/ !
191- %SVNLoc% export %COMLoc%!DrvUrl! Lumia920!Drv!
192- )
193- del 920.txt
194- )
195- if %Model% == b (
196- if exist Lumia1020\ goto OldExist
197- %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1020.txt
198- title Downloading Drivers ...
199- for /F " tokens=*" %%A IN (1020.txt) do (
200- set Drv = %%A
201- set DrvUrl = !Drv:\ =/ !
202- %SVNLoc% export %COMLoc%!DrvUrl! Lumia1020!Drv!
203- )
204- del 1020.txt
205- )
206- if %Model% == c (
207- if exist Lumia1020-AT^ &T\ goto OldExist
208- %WGETLoc% https://raw.githubusercontent.com/WOA-Project/Lumia-Drivers/master/definitions/1020att.txt
209- title Downloading Drivers ...
210- for /F " tokens=*" %%A IN (1020att.txt) do (
211- set Drv = %%A
212- set DrvUrl = !Drv:\ =/ !
213- %SVNLoc% export %COMLoc%!DrvUrl! Lumia1020-AT^ &T!Drv!
214- )
215- del 1020att.txt
216- )
217- if %Model% == D (
218- if not exist Lumia950 mkdir Lumia950
219- if not exist Lumia950\components\ mkdir Lumia950\components\
220- cd Lumia950\components\
221- if not exist DEVICE.INPUT.SYNAPTICS_RMI4_F12_10\ %WGETLoc% %ReleaseLoc% DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip
222- if not exist DEVICE.SOC_QC8994.TALKMAN\ %WGETLoc% %ReleaseLoc% DEVICE.SOC_QC8994.TALKMAN.zip
223- if not exist DEVICE.USB.MMO_USBC\ %WGETLoc% %ReleaseLoc% DEVICE.USB.MMO_USBC.zip
224- if not exist OEM.SOC_QC8994.MMO\ %WGETLoc% %ReleaseLoc% OEM.SOC_QC8994.MMO.zip
225- if not exist OEM.SOC_QC8994.MMO_SOC8992\ %WGETLoc% %ReleaseLoc% OEM.SOC_QC8994.MMO_SOC8992.zip
226- if not exist PLATFORM.SOC_QC8994.BASE\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.BASE.zip
227- if not exist PLATFORM.SOC_QC8994.MMO\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.MMO.zip
228- if not exist PLATFORM.SOC_QC8994.SOC8992\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.SOC8992.zip
229- if not exist PLATFORM.SOC_QC8994.SOC8994AB\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.SOC8994AB.zip
230- if not exist SUPPORT.DESKTOP.BASE\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.BASE.zip
231- if not exist SUPPORT.DESKTOP.EXTRAS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.EXTRAS.zip
232- if not exist SUPPORT.DESKTOP.MMO_EXTRAS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MMO_EXTRAS.zip
233- if not exist SUPPORT.DESKTOP.MOBILE_BRIDGE\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MOBILE_BRIDGE.zip
234- if not exist SUPPORT.DESKTOP.MOBILE_COMPONENTS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip
235- if exist DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip %SzLoc% x DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip DEVICE.INPUT.SYNAPTICS_RMI4_F12_10
236- if exist DEVICE.SOC_QC8994.TALKMAN.zip %SzLoc% x DEVICE.SOC_QC8994.TALKMAN.zip DEVICE.SOC_QC8994.TALKMAN
237- if exist DEVICE.USB.MMO_USBC.zip %SzLoc% x DEVICE.USB.MMO_USBC.zip DEVICE.USB.MMO_USBC
238- if exist OEM.SOC_QC8994.MMO.zip %SzLoc% x OEM.SOC_QC8994.MMO.zip OEM.SOC_QC8994.MMO
239- if exist OEM.SOC_QC8994.MMO_SOC8992.zip %SzLoc% x OEM.SOC_QC8994.MMO_SOC8992.zip OEM.SOC_QC8994.MMO_SOC8992
240- if exist PLATFORM.SOC_QC8994.BASE.zip %SzLoc% x PLATFORM.SOC_QC8994.BASE.zip PLATFORM.SOC_QC8994.BASE
241- if exist PLATFORM.SOC_QC8994.MMO.zip %SzLoc% x PLATFORM.SOC_QC8994.MMO.zip PLATFORM.SOC_QC8994.MMO
242- if exist PLATFORM.SOC_QC8994.SOC8992.zip %SzLoc% x PLATFORM.SOC_QC8994.SOC8992.zip PLATFORM.SOC_QC8994.SOC8992
243- if exist PLATFORM.SOC_QC8994.SOC8994AB.zip %SzLoc% x PLATFORM.SOC_QC8994.SOC8994AB.zip PLATFORM.SOC_QC8994.SOC8994AB
244- if exist SUPPORT.DESKTOP.BASE.zip %SzLoc% x SUPPORT.DESKTOP.BASE.zip SUPPORT.DESKTOP.BASE
245- if exist SUPPORT.DESKTOP.EXTRAS.zip %SzLoc% x SUPPORT.DESKTOP.EXTRAS.zip SUPPORT.DESKTOP.EXTRAS
246- if exist SUPPORT.DESKTOP.MMO_EXTRAS.zip %SzLoc% x SUPPORT.DESKTOP.MMO_EXTRAS.zip SUPPORT.DESKTOP.MMO_EXTRAS
247- if exist SUPPORT.DESKTOP.MOBILE_BRIDGE.zip %SzLoc% x SUPPORT.DESKTOP.MOBILE_BRIDGE.zip SUPPORT.DESKTOP.MOBILE_BRIDGE
248- if exist SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip %SzLoc% x SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip SUPPORT.DESKTOP.MOBILE_COMPONENTS
249- del *.zip 2 > NUL
250- )
251- if %Model% == E (
252- if not exist Lumia950XL mkdir Lumia950XL
253- if not exist Lumia950XL\components\ mkdir Lumia950XL\components\
254- cd Lumia950XL\components\
255- if not exist DEVICE.INPUT.SYNAPTICS_RMI4_F12_10\ %WGETLoc% %ReleaseLoc% DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip
256- if not exist DEVICE.SOC_QC8994.CITYMAN\ %WGETLoc% %ReleaseLoc% DEVICE.SOC_QC8994.CITYMAN.zip
257- if not exist DEVICE.USB.MMO_USBC\ %WGETLoc% %ReleaseLoc% DEVICE.USB.MMO_USBC.zip
258- if not exist OEM.SOC_QC8994.MMO\ %WGETLoc% %ReleaseLoc% OEM.SOC_QC8994.MMO.zip
259- if not exist OEM.SOC_QC8994.MMO_SOC8994\ %WGETLoc% %ReleaseLoc% OEM.SOC_QC8994.MMO_SOC8994.zip
260- if not exist PLATFORM.SOC_QC8994.BASE\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.BASE.zip
261- if not exist PLATFORM.SOC_QC8994.MMO\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.MMO.zip
262- if not exist PLATFORM.SOC_QC8994.SOC8994\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.SOC8994.zip
263- if not exist PLATFORM.SOC_QC8994.SOC8994AB\ %WGETLoc% %ReleaseLoc% PLATFORM.SOC_QC8994.SOC8994AB.zip
264- if not exist SUPPORT.DESKTOP.BASE\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.BASE.zip
265- if not exist SUPPORT.DESKTOP.EXTRAS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.EXTRAS.zip
266- if not exist SUPPORT.DESKTOP.MMO_EXTRAS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MMO_EXTRAS.zip
267- if not exist SUPPORT.DESKTOP.MOBILE_BRIDGE\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MOBILE_BRIDGE.zip
268- if not exist SUPPORT.DESKTOP.MOBILE_COMPONENTS\ %WGETLoc% %ReleaseLoc% SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip
269- if exist DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip %SzLoc% x DEVICE.INPUT.SYNAPTICS_RMI4_F12_10.zip DEVICE.INPUT.SYNAPTICS_RMI4_F12_10
270- if exist DEVICE.SOC_QC8994.CITYMAN.zip %SzLoc% x DEVICE.SOC_QC8994.CITYMAN.zip DEVICE.SOC_QC8994.CITYMAN
271- if exist DEVICE.USB.MMO_USBC.zip %SzLoc% x DEVICE.USB.MMO_USBC.zip DEVICE.USB.MMO_USBC
272- if exist OEM.SOC_QC8994.MMO.zip %SzLoc% x OEM.SOC_QC8994.MMO.zip OEM.SOC_QC8994.MMO
273- if exist OEM.SOC_QC8994.MMO_SOC8994.zip %SzLoc% x OEM.SOC_QC8994.MMO_SOC8994.zip OEM.SOC_QC8994.MMO_SOC8994
274- if exist PLATFORM.SOC_QC8994.BASE.zip %SzLoc% x PLATFORM.SOC_QC8994.BASE.zip PLATFORM.SOC_QC8994.BASE
275- if exist PLATFORM.SOC_QC8994.MMO.zip %SzLoc% x PLATFORM.SOC_QC8994.MMO.zip PLATFORM.SOC_QC8994.MMO
276- if exist PLATFORM.SOC_QC8994.SOC8994.zip %SzLoc% x PLATFORM.SOC_QC8994.SOC8994.zip PLATFORM.SOC_QC8994.SOC8994
277- if exist PLATFORM.SOC_QC8994.SOC8994AB.zip %SzLoc% x PLATFORM.SOC_QC8994.SOC8994AB.zip PLATFORM.SOC_QC8994.SOC8994AB
278- if exist SUPPORT.DESKTOP.BASE.zip %SzLoc% x SUPPORT.DESKTOP.BASE.zip SUPPORT.DESKTOP.BASE
279- if exist SUPPORT.DESKTOP.EXTRAS.zip %SzLoc% x SUPPORT.DESKTOP.EXTRAS.zip SUPPORT.DESKTOP.EXTRAS
280- if exist SUPPORT.DESKTOP.MMO_EXTRAS.zip %SzLoc% x SUPPORT.DESKTOP.MMO_EXTRAS.zip SUPPORT.DESKTOP.MMO_EXTRAS
281- if exist SUPPORT.DESKTOP.MOBILE_BRIDGE.zip %SzLoc% x SUPPORT.DESKTOP.MOBILE_BRIDGE.zip SUPPORT.DESKTOP.MOBILE_BRIDGE
282- if exist SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip %SzLoc% x SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip SUPPORT.DESKTOP.MOBILE_COMPONENTS
283- del *.zip 2 > NUL
284- )
285- if %Model% == d (
184+ if /I " %Model% " == " D" (
286185 if not exist Lumia950 mkdir Lumia950
287186 if not exist Lumia950\components\ mkdir Lumia950\components\
288187 cd Lumia950\components\
@@ -316,7 +215,7 @@ if %Model%==d (
316215 if exist SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip %SzLoc% x SUPPORT.DESKTOP.MOBILE_COMPONENTS.zip SUPPORT.DESKTOP.MOBILE_COMPONENTS
317216 del *.zip 2 > NUL
318217)
319- if %Model% == e (
218+ if /I " %Model% " == " E " (
320219 if not exist Lumia950XL mkdir Lumia950XL
321220 if not exist Lumia950XL\components\ mkdir Lumia950XL\components\
322221 cd Lumia950XL\components\
@@ -354,24 +253,6 @@ echo.
354253color 0a
355254echo Downloading Drivers Done!
356255pause
357- if not %model% == 1 goto ChooseDev
358- if not %model% == 2 goto ChooseDev
359- if not %model% == 3 goto ChooseDev
360- if not %model% == 4 goto ChooseDev
361- if not %model% == 5 goto ChooseDev
362- if not %model% == 6 goto ChooseDev
363- if not %model% == 7 goto ChooseDev
364- if not %model% == 8 goto ChooseDev
365- if not %model% == A goto ChooseDev
366- if not %model% == B goto ChooseDev
367- if not %model% == C goto ChooseDev
368- if not %model% == D goto ChooseDev
369- if not %model% == E goto ChooseDev
370- if not %model% == a goto ChooseDev
371- if not %model% == b goto ChooseDev
372- if not %model% == c goto ChooseDev
373- if not %model% == d goto ChooseDev
374- if not %model% == e goto ChooseDev
375256goto ChooseDev
376257:OldExist
377258color 0c
0 commit comments