-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
汉化脚本 #184
Comments
最新版是不是没有这两个文件夹了 |
23.13.0.200 |
亲测有效,win 桌面版3.5.0 |
是的 有效,文件夹需要等一段时间才会出现 感谢分享 |
3.6.0亲测有效,大家使用的时候需要注意 bat 文件中的路径 |
新版也有效 这边直接使用powershell打开 没有遇到过什么问题 |
确实 |
Mac 怎么用 |
抱歉,不会Mac脚本。仅适用win |
兄弟们,我用Rust写了个简单的脚本,感兴趣的可以去看看:https://github.com/x-haose/notion_chinese |
牛,已验证可用。回头学学这门神奇的语言。 |
亲测3.8.1可用👍 |
仅适用win:
逻辑
$username = $env:USERNAME
C:\Users\$username\AppData\Roaming\Notion\notionAssetCache-v2\$version\assets_assets\index-en-US-***.html
C:\Users\$username\AppData\Roaming\Notion\notionAssetCache-v2\$version\assets_assets\localeSetup-zh-CN-***.js
4.如果存在这两个文件,
读取 C:\Users\$username\AppData\Roaming\Notion\notionAssetCache-v2\$version\assets_assets\localeSetup-zh-CN-***.js 的文件名 并复制给 $name_localeSetup-zh-CN
<!doctype html><script defer="defer" src="/_assets/$name_localeSetup-zh-CN"></script>'
将<!doctype html>
替换为
<!doctype html><script defer="defer" src="/_assets/$name_localeSetup-zh-CN"></script>'
另外,由于win安全策略设置,需要用bat启动powershell脚本
实现:
D:\soft\notion_zh\mod_zh-ch.ps1
D:\soft\notion_zh\start_notion.bat
The text was updated successfully, but these errors were encountered: