8000 获取下载地址 · Issue #32 · whlsxl/firim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

获取下载地址 #32

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

Closed
lovelinxue opened this issue Nov 23, 2020 · 4 comments
Closed

获取下载地址 #32

lovelinxue opened this issue Nov 23, 2020 · 4 comments

Comments

@lovelinxue
Copy link

想知道使用fastlane 打包好并上传到fir之后, 有打印一个APP info 的信息. 我想上传成功之后,直接打印出来下载地址... 但是不知道这个参数怎么获取, short和download_domain

@whlsxl whlsxl closed this as completed Dec 21, 2020
@whlsxl whlsxl reopened this Dec 21, 2020
@whlsxl whlsxl closed this as completed in 2388cb1 Dec 23, 2020
@whlsxl
Copy link
Owner
whlsxl commented Dec 23, 2020

由于官方API没有提供打印下载地址的字段,这个字段是我拼上的。
规则就是 http://d.firim.top/#{short}, 这里的short用的是接口返回的,不用设置。
如果绑定了自己的域名,请设置download_page_prefix,生成的规则是#{download_page_prefix}#{short}
在终端中显示的字段是download_page_url

@XmYhkj
Copy link
XmYhkj commented Sep 6, 2021

请问我在调用了firim之后如何取出这两个参数#{download_page_prefix}#{short}?
我们的脚本需要自动发出通知,带上这个地址。
[16:22:11]: Could not find action, lane or variable 'download_page_prefix'. Check out the documentation for more details: https://docs.fastlane.tools/actions
@whlsxl

@whlsxl
Copy link
Owner
8137 whlsxl commented Sep 6, 2021

请问我在调用了firim之后如何取出这两个参数#{download_page_prefix}#{short}?
我们的脚本需要自动发出通知,带上这个地址。
[16:22:11]: Could not find action, lane or variable 'download_page_prefix'. Check out the documentation for more details: https://docs.fastlane.tools/actions
@whlsxl

需要怎么取出?

@whlsxl
Copy link
Owner
whlsxl commented Sep 29, 2021

请问我在调用了firim之后如何取出这两个参数#{download_page_prefix}#{short}? 我们的脚本需要自动发出通知,带上这个地址。 [16:22:11]: Could not find action, lane or variable 'download_page_prefix'. Check out the documentation for more details: https://docs.fastlane.tools/actions @whlsxl

我做了个环境变量导出,不知道符不符合你的需求。README.md

如果要在fastlane 里request 一个URL,可以用 upload_to_server 这个插件。在ruby里使用环境变量可以直接获取ENV["FIRIM_APP_URL"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0