实施 30 天的计时赛 [英] Implementing a 30 day time trial

查看:36
本文介绍了实施 30 天的计时赛的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

针对独立 Mac 开发者的问题:

Question for indie Mac developers out there:

我如何以非邪恶的方式实施 30 天的计时赛?在首选项中放置计数器不是一种选择,因为对于普通用户来说,每月擦除一次首选项不是问题.将计数器放在某个隐藏文件中听起来有点狡猾 - 作为一个用户,当应用程序在我的硬盘上散布随机文件时,我讨厌.有什么想法吗?

How do I implement a 30-day time trial in a non-evil fashion? Putting a counter in the prefs is not an option, since wiping prefs once a month is not a problem for an average user. Putting the counter in a hidden file somewhere sounds a bit dodgy - as a user I hate when apps sprinkle my hard drive with random files. Any ideas?

推荐答案

这个问题在 cocoa-dev 邮件列表中反复出现,共识的答案总是尽可能做最简单的事情.坚定的黑客将破坏除最过度设计的解决方案之外的所有解决方案.无论如何,他们不太可能为该软件付费.寻求 80/20 解决方案:简单的解决方案,只需 20% 的努力即可获得 80% 的效果.在这种情况下,将一些内容放入 ~/Library/Application Support/your.app.com/.如果您想稍微混淆一下,您可以将文件命名为无害的.使用用户默认设置也很容易.

This issue comes up repeatedly on the cocoa-dev mailing list and the consensus answer is always do the simplest thing possible. Determined hackers will break all but the most over-engineered solution. And they're unlikely to pay for the software anyways. Go for the 80/20 solution: the easy solution that gets 80% effect for 20% effort. In this case, putting something in ~/Library/Application Support/your.app.com/. You might name the file something innocent if you want to obfuscate things just a bit. Using the user defaults is easy too.

无论您做什么,都不要使用 MAC 地址或其他硬件 ID.拥有网络主目录(例如在共享实验室环境中)的用户会讨厌您.使用硬件 ID 是邪恶的.

Whatever you do, don't use the MAC address or an other hardware ID. Users with a network home directory (e.g. in a shared lab setting) will hate you. Using hardware IDs is just evil.

如果有人非常喜欢您的程序以至于他们愿意打破您的试用限制,那就放手吧.免费软件不花你一分钱,他们的善意(可能还会推荐给其他人)非常值得.

If someone is in love with your program so much that they're willing to break your trial limits, let them. The free software costs you nothing and their good will (and maybe recommendation to others) is worth a lot.

最后,编写人们想要使用的软件并为其定价.如果您的价格物有所值并且人们想要使用它,那么大多数人都会为此付费.

Finally, write software that people want to use and price it for its value. If your price is a good value and people want to use it, most people will pay for it.

这篇关于实施 30 天的计时赛的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆