Comments (9)
brew cask上已经有重名的项目,因此这个项目无法再提交到brew cask。
from shadowsocksx-ng-r8.
那个是叫ssr吧?你可以叫ssr8之类的。
from shadowsocksx-ng-r8.
改名的话你用brew安装就会生成一个新的APP,不会把你手动安装的覆盖
from shadowsocksx-ng-r8.
明白了。虽然你的应用名字叫R8,但是你的可执行文件后面没有8。同名的那个软件已经停止开发了。不知道能不能申请撤销?brew cask这种是先占先得的吗?
from shadowsocksx-ng-r8.
我查看了一下,似乎应该只要是cask的名称不一样就可以了。比如brew建议使用“开发者+应用名的方式”。
https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap
Naming
Unlike formulae, casks must have globally unique names to avoid clashes. This can be achieved by e.g. prepending the cask name with your github username: username-formula-name.
你可以叫paradiseduo-shadowsocksx-ng-r之类的。并且cask的名字,和最终的应用的名字也不必一致。比如官方举例的这个
https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/readme.md
cask 'alfred' do
version '2.7.1_387'
sha256 'a3738d0513d736918a6d71535ef3d85dd184af267c05698e49ac4c6b48f38e17'
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
name 'Alfred'
homepage 'https://www.alfredapp.com/'
app 'Alfred 2.app'
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
end
名字叫alfred,但是应用名叫Alfred 2.app。
from shadowsocksx-ng-r8.
对的,这就是我说的应用名要改变,没法覆盖的原因。
我尝试过只改cask的名字,但是结果是这样(电脑上手动安装过APP):
因此除非你是使用brew安装的APP,不然没法通过brew去升级他:
from shadowsocksx-ng-r8.
或许之后会考虑添加Sparkle库来实现自动升级安装,但是Sparkle库对签名要求十分严格,如果签名不对是无法覆盖的。
这样就会导致如果将来证书到期,要换证书的话,用Sparkle升级可能就会报错了。
from shadowsocksx-ng-r8.
就算是之前安装的不能直接覆盖,也比每次都重新下载并安装方便啊。你可以在ReadMe里提示用户这一点。这样新用户可以一开始就用brew cask安装,老用户的话,也可以选择删除掉应用再用brew cask装一次就好了。因为直接删应用,设置还在,不会对老用户造成什么影响。只需要切换一次。
from shadowsocksx-ng-r8.
合并请求被驳回。原因可以在上述链接中查看。
from shadowsocksx-ng-r8.
Related Issues (20)
- Connection refused HOT 7
- 一旦使用订阅,原来手动添加的服务器就会丢失 HOT 1
- 启动软件会弹出恶意软件的提示 HOT 5
- 点击顶部图标,点击应用设置,应用直接闪退 HOT 1
- “proxy_conf_helper” 将对您的电脑造成伤害。 HOT 3
- 网速显示问题 HOT 1
- 1.7.0点击应用设置,闪退 HOT 5
- 下载后直接配置了地址,还是无法访问google Mac:10.14 端口没被占用 HOT 20
- url scheme 不管用 HOT 3
- bug - 全局模式无法连接 HOT 9
- 下载并安装成功但是网页打不开 HOT 2
- macOS 10.15.6 无法上网 HOT 7
- 剪切板 导入 可以重复导入 HOT 1
- 命令行如何执行'更新PAC名单' HOT 3
- 急!完全不能连接Behance(不是慢,是连接不上),其他网站如Pinterest google facebook就没问题 HOT 3
- 请问能不能绕过局域网和**大陆地址? HOT 2
- 可以打开网页,但是很多图片加载不出来…… HOT 1
- sock5设置无效 HOT 5
- 用户PAC规则不生效 HOT 2
- 能不能加个负载均衡呢,因为要多个节点切换用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadowsocksx-ng-r8.