android build progress
This commit is contained in:
@@ -36,7 +36,7 @@ for action in uc.action_methods
|
||||
puts "action #{action} found"
|
||||
result = uc.render_to_string(action: action.dup)
|
||||
#result.sub! /<head>/, '<head><base href="file:///Users/bterkuile/Documents/workspace/Qwaiter/assets/" target="_self" />'
|
||||
result.gsub! /(href|src)="([^#])/, %|\\1="#{root_url}\2|
|
||||
result.gsub! /(href|src)="([^#])/, %|\\1="#{root_url}\\2|
|
||||
File.open(File.join(android_root, 'user', "#{action}.html"), 'w'){|f| f.puts result}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user