Skip to content

Commit

Permalink
iOS: fcm-push extension compress Google Frameworks for win32 maxpath …
Browse files Browse the repository at this point in the history
…issue
  • Loading branch information
dmitrys committed Apr 30, 2020
1 parent 2b74847 commit 50f06ab
Show file tree
Hide file tree
Showing 508 changed files with 31 additions and 78,040 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,5 @@ platform/shared/qt/**/rhosimulator_plugin_import.cpp
res/build-tools/maven/m2
platform/win32/RhoSimulator/*
platform/shared/qt/rhodes/resources/rho.png

lib/extensions/fcm-push/ext/iphone/Frameworks/*
19 changes: 16 additions & 3 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,25 @@

if RUBY_PLATFORM =~ /darwin/
currentdir = Dir.pwd()
chdir (File.dirname(__FILE__) + "/../platform/osx/bin/RhoSimulator/")
system("unzip RhoSimulator.app.zip")
rm_rf "RhoSimulator.app.zip"
if File.exists?(File.dirname(__FILE__) + "/../platform/osx/bin/RhoSimulator/RhoSimulator.app.zip")
chdir (File.dirname(__FILE__) + "/../platform/osx/bin/RhoSimulator/")
system("unzip RhoSimulator.app.zip")
rm_rf "RhoSimulator.app.zip"
end
Dir.chdir currentdir
end

if RUBY_PLATFORM =~ /darwin/
currentdir = Dir.pwd()
if File.exists?(File.dirname(__FILE__) + "/../lib/extensions/fcm-push/ext/iphone/Frameworks/Frameworks.zip")
chdir (File.dirname(__FILE__) + "/../lib/extensions/fcm-push/ext/iphone/Frameworks/")
system("unzip Frameworks.zip")
rm_rf "Frameworks.zip"
end
Dir.chdir currentdir
end


#This is the hack, we make all the things to make it look like an extension has compiled

File.open('Makefile', 'w') { |f| f.write "all:\n\ninstall:\n\n" }
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 50f06ab

Please sign in to comment.