Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsJayPM committed Oct 23, 2022
1 parent 289e303 commit 281fb61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GATOOLS/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,13 @@ public async Task GoAnimateCCRip(String carryThemeId)
{

var stateId = state.Attributes().Where(a => a.Name == "id").Single().Value;
var stateFilename = state.Attributes().Where(a => a.Name == "filename").Single().Value;

uri = $"{serverAddress}{themeId}/{componentType}/{componentId}/{stateId}.swf";
uri = $"{serverAddress}{themeId}/{componentType}/{componentId}/{stateFilename}";
localDir = $".\\cc_store\\{themeId}\\{componentType}\\{componentId}";
Directory.CreateDirectory(localDir);

localFileName = $".\\cc_store\\{themeId}\\{componentType}\\{componentId}\\{stateId}.swf";
localFileName = $".\\cc_store\\{themeId}\\{componentType}\\{componentId}\\{stateFilename}";
await downloadAsset(localFileName, uri, doDecryption, key);

log.Text = $"Downloaded state '{stateId}' for component '{componentId}' ({componentType}).";
Expand Down

0 comments on commit 281fb61

Please sign in to comment.