From abbe964688175cf55b8b72d6b82e3aaade055b38 Mon Sep 17 00:00:00 2001 From: rat-moonshine Date: Wed, 19 Feb 2020 22:27:26 +0530 Subject: [PATCH] - Fixed unknown location problem during royale-config file patch-fix (reference #22) --- MoonshineSDKInstaller/src/assets/{ => images}/royale-config.xml | 0 MoonshineSDKInstaller/src/components/HelperInstaller.mxml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename MoonshineSDKInstaller/src/assets/{ => images}/royale-config.xml (100%) diff --git a/MoonshineSDKInstaller/src/assets/royale-config.xml b/MoonshineSDKInstaller/src/assets/images/royale-config.xml similarity index 100% rename from MoonshineSDKInstaller/src/assets/royale-config.xml rename to MoonshineSDKInstaller/src/assets/images/royale-config.xml diff --git a/MoonshineSDKInstaller/src/components/HelperInstaller.mxml b/MoonshineSDKInstaller/src/components/HelperInstaller.mxml index 4e9480a..8a8acae 100644 --- a/MoonshineSDKInstaller/src/components/HelperInstaller.mxml +++ b/MoonshineSDKInstaller/src/components/HelperInstaller.mxml @@ -320,7 +320,7 @@ var fileToPatch:File = (new File(itemDownloading.installToPath)).resolvePath("royale-asjs/frameworks/royale-config.xml"); if (fileToPatch.exists) { - var fileToPatchWith:File = File.applicationDirectory.resolvePath("assets/royale-config.xml"); + var fileToPatchWith:File = File.applicationDirectory.resolvePath("images/royale-config.xml"); FileUtils.copyFile(fileToPatchWith, fileToPatch, true); } }, 1000);