浏览代码

Add time fix when Windows is clashing with Linux

DricomDragon 4 年之前
父节点
当前提交
e258160d6b
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Guides/os.md

+ 10 - 0
Guides/os.md

@@ -88,3 +88,13 @@ Compiled files (`*.a` or `*.so`, commonly generated through a buil system like `
 If your static lib is named `libhello.a`, you link with the compiler flag `-lhello`.
 
 For instance, `libbox2d.a` is linked with the flag `-lbox2d`.
+
+## Windows and Linux
+
+### Time clash
+
+#### Use same time as windows
+timedatectl set-local-rtc 1 --adjust-system-clock
+
+#### Revert
+timedatectl set-local-rtc 0 --adjust-system-clock