文件系统
Typora插件开发时,文件和目录操作
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
无标题
文件夹 命令 首次加载、修改打开的文件夹 this.app.vault.on(“mounted”, (path) => {}) 修改打开的文件夹 this.app.vault.on(“change”, (path) => {}) 文件夹重命名 this.app.vault.on(“directory:rename”, (oldPath, newPath) => {}) 文件 命令 删除文件 this.app.vault.on(“file:delete”, (path) => {}) 文件重命名 this.app.vault.on(“file:rename”, (oldPath, newPath) => {}) 文件打开前 this.app.workspace.on(“file:will-open”, (path) => {}) 文件保存前 this.app.workspace.on(“file:will-save”, (path)...
无标题
右键菜单 打开菜单事件 123this.app.workspace.on("file-menu", ({ menu, path }) => {}) 移除所有菜单项 123this.app.workspace.on("file-menu", ({ menu, path }) => { menu.empty();}) 指定的现有菜单项之后插入一个 菜单项 123456789101112131415161718192021222324252627282930313233this.app.workspace.on("file-menu", ({ menu, path }) => { // 在 打开 菜单下添加一个菜单项 menu.insertItemAfter('[data-action="open"]', (item) =>...
无标题
1234567891011121314151617181920New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" ` -Name "IdleTimeout" ` -PropertyType DWORD ` -Value 0 -ForceNew-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" ` -Name "MaxConnectionTime" ` -PropertyType DWORD ` -Value 0 -ForceNew-ItemProperty -Path...
无标题
12Set-WinUILanguageOverride -Language en-USRestart-Computer 123Set-WinUILanguageOverride -Language koRestart-Computer
