Open Wsgamer7 opened 1 year ago
这个可以 我想要像 命令行打开Chrome那样,命令行输入yesplaymusic就直接打开软件,该怎么操作,这样就不用输入路径了
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: gua-leopard @.> Sent: Sunday, March 5, 2023 3:46:43 PM To: qier222/YesPlayMusic @.> Cc: Wsgamer7 @.>; Author @.> Subject: Re: [qier222/YesPlayMusic] 怎么在linux命令行输入名字打开,下载targz文件后解压出来可以直接双击打开 (Issue #1979)
./xxx
― Reply to this email directly, view it on GitHubhttps://github.com/qier222/YesPlayMusic/issues/1979#issuecomment-1455016090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2BW5TJWPTXI4Q273OKEMWDW2RAGHANCNFSM6AAAAAAVPGTFLI. You are receiving this because you authored the thread.Message ID: @.***>
你可以写一个简单的程序,运行这个程序就打开yesplaymusic,然后把这个程序放在、/usr/bin里面
发行版没有提供包嘛?可以先试试发行版提供的包,实在不行就软链接一下解压后得到的脚本到 /usr/bin
(记得改权限)
找到可执行文件的位置 写一个脚本 放在/usr/bin +command name 赋予 权限 就解决了
./xxx