-
Notifications
You must be signed in to change notification settings - Fork 263
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
vlc还是调用不了... #14
Comments
这个应该在其他Linux环境也可以运行的,不一定非要安装WSL |
[root@vvlaw exe]# chmod +x build.sh
==================== |
你少了这步吧? |
centos 没有apt命令,用yum的话提示No package gcc-mingw-w64 available. 没有这个包... |
我自己用Ubuntu试了下,一下子就编译出了exe文件。。 分享链接:https://gdshare.viegg.com/share/file?expired=1598256535613&id=1frbDggUvpSXO3EJ1wZfJY1LJL-O_dlVq&sig=f4598ee6c3bb5ed256dcd1c7464ee9fa7088c41662035a237daa8894fb2d460b |
这个exe可以用. 感谢大佬,现在vlc也可以调用了.不过centos上有时间再去捉摸下,怎么编译exe. |
Easy bat-only install
This is easy to install, but a command line window will pop up briefly when you click a vlc:// link. Try this first before you attempt the harder version.
Put the files from the bat directory in your VLC directory (usually C:\Program Files (x86)\VideoLAN\VLC), and then run vlc-protocol-register.bat as administrator (right-click the file and use Run as administrator).
只操作这一步,好像会弹出要不要用vlc protocol来打开,但是打不开程序...
Harder exe install
You have to compile a program to get this working.
Get bash set up and open a prompt.
Install git and the compiler: sudo apt install git gcc-mingw-w64
Go someplace where you can find the files later: cd /mnt/c/Users/username/Desktop
Download the files: git clone https://github.com/stefansundin/vlc-protocol.git
cd vlc-protocol/windows/exe/
./build.sh
Now, if successful, you should see a file named vlc-protocol.exe. Copy the exe file and the bat files to your VLC directory and run vlc-protocol-register.bat as administrator (right-click the file and use Run as administrator).
这一部好像要在商店里装linux,不过试了下,store提示不能联网...
The text was updated successfully, but these errors were encountered: