Skip to content

Commit

Permalink
Update CopyState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Sep 19, 2024
1 parent 56bc6b5 commit fb3c3aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/mobile/CopyState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ class CopyState extends MusicBeatState
return;
}

#if android
CoolUtil.showPopUp("Seems like you have some missing files that are necessary to run the game\nPress OK to begin the copy process", "Notice!");
#end

shouldCopy = true;

Expand Down Expand Up @@ -86,7 +88,9 @@ class CopyState extends MusicBeatState
{
if (failedFiles.length > 0)
{
#if android
CoolUtil.showPopUp(failedFiles.join('\n'), 'Failed To Copy ${failedFiles.length} File.');
#end
if (!FileSystem.exists('logs'))
FileSystem.createDirectory('logs');
File.saveContent('logs/' + Date.now().toString().replace(' ', '-').replace(':', "'") + '-CopyState' + '.txt', failedFilesStack.join('\n'));
Expand Down

0 comments on commit fb3c3aa

Please sign in to comment.