2018年1月5日星期五

使用libfaketime修改Surge Mac试用期限

项目名称:libfaketime
简介:libfaketime, 针对某个应用伪造当前时间,无需更改系统时间
项目地址:https://github.com/wolfcw/libfaketime

Hmebrew 安装libfaketime,破解Surge Mac使用时间30天限制(2行命令)
// brew install libfaketime coreutils
// faketime '2007-01-01 00:00:00' /Applications/Surge.app/Contents/MacOS/Surge &

详细步骤:
1.安装Homebrew
安装方法:  在Mac中打开Termal:  输入命令:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
在国内如果按住那个不了,挂代理重试

2.使用brew安装libfaketime软件:
// brew install libfaketime coreutils
// faketime '2007-01-01 00:00:00' /Applications/Surge.app/Contents/MacOS/Surge &

3.使用brew卸载软件
brew uninstall libfaketime

PS: 通过 Homebrew 安装 Coreutils
brew install xz coreutils

注:Coreutils并不依赖于xz,但它的源码是用xz格式压缩的,安装xz才能解压。



2 条评论:

  1. 有旧版本软件分享吗》

    回复删除
  2. Hi. I have two questions, please answer them.
    1. What does letter "&" mean in the command `faketime '2007-01-01 00:00:00' /Applications/Surge.app/Contents/MacOS/Surge &`
    2. I used faketime with other apps but it get trouble, the message is:
    In ft_shm_init(), sem_open failed and recreation attempts failed: Operation not permitted
    libfaketime: sem_name was /faketime_sem_8408, created locally: false

    Please help me!

    回复删除