File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Size=118660
1010
1111[devkitARM]
1212Version =47
13- File =devkitARM_r47-win32.exe
13+ File =devkitARM_r47-win32.7z
1414Size =70461
1515
1616[libgba]
@@ -95,7 +95,7 @@ Size=93
9595
9696[devkitPPC]
9797Version =29-1
98- File =devkitPPC_r29-1-win32.exe
98+ File =devkitPPC_r29-1-win32.7z
9999Size =65356
100100
101101[libogc]
@@ -120,7 +120,7 @@ Size=93
120120
121121[devkitA64]
122122Version =alpha7
123- File =devkitA64_a7-win64.exe
123+ File =devkitA64_a7-win64.7z
124124Size =65356
125125
126126[libnx]
Original file line number Diff line number Diff line change @@ -482,7 +482,6 @@ SkipMsys:
482482 push " $BASEDIR/devkitARM"
483483 push " devkitARM"
484484 push $DEVKITARM_VER
485- push 1
486485 call ExtractToolChain
487486
488487 push ${devkitPPC}
@@ -491,7 +490,6 @@ SkipMsys:
491490 push " $BASEDIR/devkitPPC"
492491 push " devkitPPC"
493492 push $DEVKITPPC_VER
494- push 1
495493 call ExtractToolChain
496494
497495 push ${devkitA64}
@@ -500,7 +498,6 @@ SkipMsys:
500498 push " $BASEDIR/devkitA64"
501499 push " devkitA64"
502500 push $DEVKITA64_VER
503- push 0
504501 call ExtractToolChain
505502
506503 push ${Seclibgba}
@@ -1384,41 +1381,38 @@ FunctionEnd
13841381var LIB
13851382var FOLDER
13861383
1387-
13881384; -----------------------------------------------------------------------------------------------------------------------
13891385Function ExtractToolChain
13901386; -----------------------------------------------------------------------------------------------------------------------
1391- pop $R6 ; delete directory flag
13921387 pop $R5 ; version
13931388 pop $R4 ; section name
1394- pop $R3 ; name
1395- pop $R2 ; 7zip sfx
1389+ pop $R3 ; path
1390+ pop $R2 ; 7zip
13961391 pop $R1 ; env variable
13971392 pop $R0 ; section flags
13981393
13991394 SectionGetFlags $R0 $0
14001395 IntOp $0 $0 & ${SF_SELECTED}
14011396 IntCmp $0 ${SF_SELECTED} +1 SkipExtract
14021397
1403-
1404- IntCmp $R6 1 +1 SkipRemove
1405-
14061398 RMDir /r " $INSTDIR\$R4"
14071399
1408- SkipRemove:
1409- ExecWait ' "$EXEDIR\$R2" -y -o$INSTDIR'
1400+ SetOutPath $INSTDIR
1401+
1402+ Nsis7z::ExtractWithDetails " $EXEDIR\$R2" " Installing package %s..."
14101403
14111404 StrCmp $R1 " " NoEnvVar 0
14121405
14131406 WriteRegStr HKLM " System\CurrentControlSet\Control\Session Manager\Environment" $R1 $R3
14141407 SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 " STR:Environment" /TIMEOUT= 5000
14151408
1416- WriteINIStr $INSTDIR \installed.ini $R4 Version $R5
1417-
14181409NoEnvVar:
1410+
14191411 push $R2
14201412 call RemoveFile
14211413
1414+ WriteINIStr $INSTDIR \installed.ini $R4 Version $R5
1415+
14221416SkipExtract:
14231417
14241418FunctionEnd
You can’t perform that action at this time.
0 commit comments