1、store下载系统
image.png
2、用个16g
U盘,参照官网制作为启动盘
https://support.apple.com/zh-cn/HT201372#create
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyDisk/
关机,插入U盘,按住
command
+r
后,按开机键,格式化硬盘,重装。
3、文件备份清单
大文件移动到移动硬盘中去,几百年不用不看的删除吧,人的这种收藏心理很可怕。
需要破解软件或者有什么登录密钥配置的用
AppDelete
归档,装好系统后再从归档安装。鼠须管输入法,
ssh等备份,
.bash_profile
文件里的有用的配置备份,Flutter
文件夹备份,苹果备忘录备份
~/Library/Group Containers/group.com.apple.notes
,需要重装用dmg安装的应用程序记录名字,重新下载dmg。
Xcode代码块
~/Library/Developer/Xcode/UserData/CodeSnippets
Sourcetree登录密钥等
OpenInTerminal
GitBook Editor
EasyConnect
CleanMyMac X
Charles中文版
BetterZip
AppDelete
Alfred 4
微信聊天记录
~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application Support/com.tencent.xinWeChat
微信开发者工具
钥匙串
/Library/Keychains
遇到的问题:
0、证书忘记备份了,导致Xcode开发者账号还得登录下,存放位置也得找一下
1、bash_profile配置的别名不好使,新建.zshrc
复制内容至其后, source .zshrc
。10.15.5默认zsh
了,之前是从低版本升级上去了,bash_profile还好使,可见这兼容性真强。
2。安装pod
https://guides.cocoapods.org/using/getting-started.html
sudo gem install cocoapods
3。安装Xcode11.5
, flutter upgrade to 1.7.5
4。安装五笔输入法,系统的不好用,不开源的又在监控你
git clone --recursive https://github.com/rime/squirrel.git
支持五笔输入
https://github.com/rime/rime-wubi
brew install cmake
brew install boost@1.60
brew link --force boost@1.60
git clone --recursive https://github.com/rime/squirrel.git
cd squirrel
make deps
make
sudo make install
初步安装好了
然后载入五笔
cd plum
./rime-install wubi pinyin-simp
在输入选项中只用五笔
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: wubi86 # 五笔86
用自定义外观字号圆角之类的,哪些app只英文等
# 適用於【鼠鬚管】0.9.13+
# 位置:~/Library/Rime/squirrel.custom.yaml
# 用法:想要哪項生效,就刪去該行行首的#字符,但注意保留用於縮進的空格
patch:
preset_color_schemes:
so_young:
name: "致青春/So Young"
author: "五磅兔 zcunlin@foxmail.com"
text_color: 0x8236d3
back_color: 0xe3f6fd
border_color: 0xd5e8ee
label_color: 0xa1a193
candidate_text_color: 0x837b65
comment_text_color: 0xd28b26
hilited_text_color: 0x969483
hilited_back_color: 0xd5e8ee
hilited_candidate_text_color: 0xd5e8ee
hilited_comment_text_color: 0xd5e8ee
hilited_candidate_back_color: 0x98a12a
style:
color_scheme: so_young
horizontal: true # 候选窗横向显示
corner_radius: 4 # 窗口圆角半径
border_height: 4 # 窗口边界高度,大于圆角半径才有效果
border_width: 6 # 窗口边界宽度,大于圆角半径才有效果
font_face: "PingFangSC-Regular,Noto Sans CJK TC" # 预选栏文字字体,使用中文字体:兰亭黑-纤黑
font_point: 28 #预选栏文字字号
label_font_face: "PingFangSC-Light,Myriad Pro Light" # 预选栏编号字体,使用西文字体:Myriad Pro Light
label_font_point: 28 #预选栏编号字号
inline_preedit: true
app_options/com.microsoft.VSCode:
ascii_mode: true
app_options/com.adobe.Reader:
ascii_mode: true
app_options/com.apple.Xcode:
ascii_mode: true
app_options/com.runningwithcrayons.Alfred-3:
ascii_mode: true
app_options/com.runningwithcrayons.Alfred-Preferences-3:
ascii_mode: true
app_options/com.apple.spotlight:
ascii_mode: true
app_options/com.apple.Terminal:
ascii_mode: true
app_options/com.apple.Safari:
ascii_mode: true
app_options/com.google.Chrome:
ascii_mode: true
app_options/com.google.Chrome.canary:
ascii_mode: true
app_options/org.mozilla.firefox:
ascii_mode: true
app_options/com.operasoftware.Opera:
ascii_mode: true
app_options/com.macromates.TextMate.preview:
ascii_mode: true
app_options/com.sublimetext.2:
ascii_mode: true
app_options/com.sublimetext.3:
ascii_mode: true
app_options/com.github.atom:
ascii_mode: true
app_options/org.vim.MacVim:
ascii_mode: true
app_options/com.googlecode.iterm2:
ascii_mode: true
app_options/com.kapeli.dash:
ascii_mode: true
app_options/io.brackets.appshell:
ascii_mode: true
app_options/com.kodowa.LightTable:
ascii_mode: true
app_options/com.adobe.Reader:
ascii_mode: true
app_options/net.sourceforge.skim-app.skim:
ascii_mode: true
app_options/org.mozilla.aurora:
ascii_mode: true
app_options/org.keepassx.keepassx:
ascii_mode: true
更多自定义配置https://github.com/rime/home/wiki/CustomizationGuide
其实就这三个自定义配置文件,下次直接拖入这三个配置文件 即可或者整个文件夹做成个git
更深入配置
https://segmentfault.com/a/1190000005754706
5。安装brew
https://segmentfault.com/a/1190000021360086
https://blog.csdn.net/seven_28/article/details/104934623
复制https://raw.githubusercontent.com/Homebrew/install/master/install.sh的内容 为brew_install文件
增加权限chmod 755 brew_install
把BREW_REPO = "https://github.com/Homebrew/brew"换成
BREW_REPO="https://mirrors.ustc.edu.cn/brew.git"
终端执行./brew_install
6、运行h5项目 npm run dev
, 得安装npm
。
用brew安装可能网速慢,这次体验用pkg
https://nodejs.org/zh-cn/
安装
cnpm
, https://www.npmjs.com/package/cnpmnpm install cnpm -g --registry=https://r.npm.taobao.org
image.png
网友评论