@@ -365,6 +365,22 @@ static public void DownloadOSCApp(string appName)
365
365
DownloadFile ( $ "https://hbb1.oscwii.org/api/v3/contents/{ appName } /icon.png", Path . Join ( appPath , "icon.png" ) , appName ) ;
366
366
}
367
367
368
+ // <summary>
369
+ /// Downloads WiiLink Account Linker from Patcher Server
370
+ /// </summary>
371
+ static public void DownloadLinker ( )
372
+ {
373
+ task = "Downloading WiiLink Account Linker" ;
374
+ string appPath = Path . Join ( "apps" , "WiiLinkAccountLinker" ) ;
375
+
376
+ if ( ! Directory . Exists ( appPath ) )
377
+ Directory . CreateDirectory ( appPath ) ;
378
+
379
+ DownloadFile ( $ "{ wiiLinkPatcherUrl } /linker/boot.dol", Path . Join ( appPath , "boot.dol" ) , "WiiLink Account Linker" ) ;
380
+ DownloadFile ( $ "{ wiiLinkPatcherUrl } /linker/meta.xml", Path . Join ( appPath , "meta.xml" ) , "WiiLink Account Linker" ) ;
381
+ DownloadFile ( $ "{ wiiLinkPatcherUrl } /linker/icon.png", Path . Join ( appPath , "icon.png" ) , "WiiLink Account Linker" ) ;
382
+ }
383
+
368
384
/// <summary>
369
385
/// Downloads AnyGlobe Changer from OSC or GitHub, depending on platform, as the latest OSC release doesn't work with Dolphin.
370
386
/// </summary>
@@ -2147,11 +2163,11 @@ static void DownloadAllPatches()
2147
2163
DownloadPatch ( "Dominos" , $ "Dominos_0.delta", "Dominos_0.delta" , "Food Channel (Dominos)" ) ;
2148
2164
DownloadPatch ( "Dominos" , $ "Dominos_1.delta", "Dominos_1.delta" , "Food Channel (Dominos)" ) ;
2149
2165
DownloadPatch ( "Dominos" , $ "Dominos_2.delta", "Dominos_2.delta" , "Food Channel (Dominos)" ) ;
2150
- DownloadOSCApp ( "WiiLink_Account_Linker" ) ;
2166
+ DownloadLinker ( ) ;
2151
2167
break ;
2152
2168
}
2153
2169
2154
- // Kirby TV Channel (only if user chose to install it)
2170
+ // Kirby TV Channel
2155
2171
DownloadPatch ( "ktv" , $ "ktv_2.delta", "KirbyTV_2.delta" , "Kirby TV Channel" ) ;
2156
2172
}
2157
2173
@@ -2167,7 +2183,7 @@ static void DownloadAllPatches()
2167
2183
DownloadOSCApp ( "sntp" ) ;
2168
2184
}
2169
2185
2170
- // Download WC24 patches if applicable
2186
+ // Download WC24 patches
2171
2187
// Nintendo Channel
2172
2188
DownloadPatch ( "nc" , $ "NC_1_{ wc24_reg } .delta", $ "NC_1_{ wc24_reg } .delta", "Nintendo Channel" ) ;
2173
2189
@@ -3254,7 +3270,7 @@ static void DownloadCustomPatches(List<string> channelSelection)
3254
3270
DownloadPatch ( "Dominos" , $ "Dominos_0.delta", "Dominos_0.delta" , "Food Channel (Domino's)" ) ;
3255
3271
DownloadPatch ( "Dominos" , $ "Dominos_1.delta", "Dominos_1.delta" , "Food Channel (Domino's)" ) ;
3256
3272
DownloadPatch ( "Dominos" , $ "Dominos_2.delta", "Dominos_2.delta" , "Food Channel (Domino's)" ) ;
3257
- DownloadOSCApp ( "WiiLink_Account_Linker" ) ;
3273
+ DownloadLinker ( ) ;
3258
3274
break ;
3259
3275
case "nc_us" :
3260
3276
task = "Downloading Nintendo Channel (USA)" ;
0 commit comments