Skip to content

Commit

Permalink
Updates for version 1.1.1
Browse files Browse the repository at this point in the history
Bug fix for space in path.

Merge pull request #2 from RodGreen/patch-1

Fixes unity script compile error 'TypeLoadException'

Change-Id: I143971b86ca175d6c48c4aa82be86ad8a2086950
  • Loading branch information
claywilkinson committed Feb 27, 2016
2 parents 0efa136 + e98d780 commit 63eb8ea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 1.1.1 - 25 Feb 2016
## Bug Fixes
* #1 Spaces in project path not handled when exploding Aar file.
* #2 Script compilation error: TypeLoadException.
# Version 1.1.0 - 5 Feb 2016
## New Features
* Adds friendly alert when JAVA_HOME is not set on Windows platforms.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ project.ext {
buildPath = file('build').absolutePath
exportPath = file('build/plugin.unitypackage').absolutePath
currentPluginPath = file('.').absolutePath
currentPluginName = 'play-services-resolver-1.1.0.unitypackage'
currentPluginName = 'play-services-resolver-1.1.1.unitypackage'
}

if (!tasks.findByName('prebuild')) {
Expand Down
Binary file removed play-services-resolver-1.1.0.unitypackage
Binary file not shown.
3 changes: 2 additions & 1 deletion plugin/Assets/PlayServicesResolver/Editor/DefaultResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ internal virtual string ProcessAar(string dir, string aarFile)

System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.Arguments = "xvf " + Path.GetFullPath(aarFile);
p.StartInfo.Arguments = "xvf " +
"\"" + Path.GetFullPath(aarFile) + "\"";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = false;
p.StartInfo.RedirectStandardError = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ static IResolver Resolver
if (_resolver == null)
{
// create the latest resolver known.
Type type = Type.GetType(CurrentResolverName, true);

_resolver = Activator.CreateInstance(type) as IResolver;
_resolver = Activator.CreateInstance("GooglePlayServices", CurrentResolverName) as IResolver;
}
return _resolver;
}
Expand Down

0 comments on commit 63eb8ea

Please sign in to comment.