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

简单说下如何在mac下跑起来 #32

Open
theoriz0 opened this issue May 24, 2020 · 2 comments
Open

简单说下如何在mac下跑起来 #32

theoriz0 opened this issue May 24, 2020 · 2 comments

Comments

@theoriz0
Copy link

theoriz0 commented May 24, 2020

安装java runtime env

Oracle

安装ffmpeg:

brew install ffmpeg

找到 ffmpeg 安装位置

type ffmpeg

编辑配置文件

下载release包,解压并打开 config/app.config
将ffmpeg路径那行开头的#去掉,使注释失效,并修改地址
bilibili.ffmpegPath = [上一步骤得到的ffmpeg的地址]

运行

  • 通过命令行运行
java -Dfile.encoding=utf-8 -Dhttps.protocols=TLSv1.2 -jar INeedBiliAV.jar
  • 参考下图(V6.15测试功能,如有问题请反馈)

    • 赋予Double-Click-to-Run-for-Mac.command 可执行权限,然后双击直接运行
    • (可选)运行Create-Shortcut-on-Desktop-for-Mac.sh 创建桌面快捷方式
      Screenshot
  • 双击 INeedBiliAV.jar 即可

@Sakuradreancat
Copy link

最后一步总是改不对

ffmpeg环境配置(当同级目录下ffmpeg无法生效时,需要人为指定ffmpeg位置)

bilibili.ffmpegPath = usr/local/bin/ffmpeg
bilibili.ffmpegPath = usr/local/bin/ffmpeg
bilibili.flv.ffmpeg = false
我最后改成这样了 终端给的答案是ffmpeg is /usr/local/bin/ffmpeg
这个两行地址是要都改的吗

@caperner
Copy link

caperner commented Aug 6, 2021

您好,我在Macbook air M1 macOS 11.2 上正确安装了ffmpeg和java。 INeedBiliAV.jar可以打开,但无法登陆,扫码后没有反应。在app.config修改了ffmpeg路径后,打开软件时提示没有找到ffmpeg,但路径是正确的。在app.config修改的设置也无法显示在软件的设置页面,直接在软件中设置提示“无法保存“。希望能够更新~

Repository owner locked as off-topic and limited conversation to collaborators Aug 6, 2021
Repository owner unlocked this conversation Aug 20, 2022
nICEnnnnnnnLee added a commit that referenced this issue Aug 20, 2022
#32 #70  #71 #110 Mac下请不要直接双击运行jar,请以命令行方式运行,确保jar包所在目录为工作目录
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants