Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Only append app_id and universal_link for the command when exist #663

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ios/fluwx.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ if !universal_link.nil? && !universal_link.empty?
Pod::UI.puts "[fluwx] universal_link: #{universal_link}"
end

system("ruby #{current_dir}/wechat_setup.rb #{ignore_security} -a #{app_id} -u #{universal_link} -p #{project_dir} -n Runner.xcodeproj")
command = "ruby #{current_dir}/wechat_setup.rb #{ignore_security}"
command += " -p #{project_dir} -n Runner.xcodeproj"
command += " -a #{app_id}" unless app_id.nil? || app_id.empty?
command += " -u #{universal_link}" unless universal_link.nil? || universal_link.empty?
system(command)

Pod::Spec.new do |s|
s.name = 'fluwx'
Expand Down
Loading