Coder Social home page Coder Social logo

localtime-toggle's Introduction

解决Windows和MacOS的时间同步问题(支持MacOS 11.0.1 Big Sur). 这是一个本地脚本,用来解决MacOS和Windows之间的同步问题(安装了多重引导); 这个仓库是在 harmc0re 指令的基础上建立的;

安装

  1. 下载源代码ZIP文件并解压.
  2. 到解压目录;
  3. 运行命令:
sudo chmod +x fix_time_osx.sh
sudo ./fix_time_osx.sh

如果情况好的话,在最后一个命令输入后,你可能注意到时间又一次改变了; 和因特网同步时钟,或者手动调整时间,然后就可以了;

2021-01-18 22:17:00

作者原本用的是网络下载,并且用/sbin/存储程序,这就导致两个问题:

  • 下载服务器不可用,尤其是**大陆;
  • /sbin/不可写,尤其是Big Sur;

本仓库解决了这两个问题,方式为:

  • 程序直接包含在源代码中,不用从服务器下载;
  • 使用/Users/Shared/sbin/代替/sbin/,经测试,可以成功运行;

localtime-toggle's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.