Skip to content

Commit

Permalink
support run with flutter module.
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Aug 3, 2023
1 parent e04f808 commit 7b488b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ios/fluwx.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ library_version = pubspec['version'].gsub('+', '-')
current_dir = Dir.pwd
calling_dir = File.dirname(__FILE__)
project_dir = calling_dir.slice(0..(calling_dir.index('/.symlinks')))
flutter_project_dir = calling_dir.slice(0..(calling_dir.index('/ios/.symlinks')))
symlinks_index = calling_dir.index('/ios/.symlinks')
if !symlinks_index
symlinks_index = calling_dir.index('/.ios/.symlinks')
end

flutter_project_dir = calling_dir.slice(0..(symlinks_index))

puts Psych::VERSION
psych_version_gte_500 = Gem::Version.new(Psych::VERSION) >= Gem::Version.new('5.0.0')
Expand Down

0 comments on commit 7b488b3

Please sign in to comment.