阿菜 Cai

Results 211 comments of 阿菜 Cai

@vasfvitor @FabianLars hi ~ So have any ideas? Or plans? Or anything I can try to do? or I can try it first?

OK, I will try to write a script to add v1/v2 badges. Closed-source resources can only wait for the author to submit the version (but there is no code reference...

Related https://github.com/Tencent/cherry-markdown/issues/1077

node:fs在主进程使用,然后通过通信把数据传到渲染进行。

你可以看下这个 https://github.com/caoxiemeihao/electron-vite-samples/tree/main/sqlite3-renderer-process, 在*serialport-renderer-process/src/main.ts*目录尝试使用。 ```ts fs.mkdir('file').catch(() => { console.log('data directory already exists') }) ```

你用这个试一下:https://github.com/caoxiemeihao/electron-vite-samples/blob/main/sqlite3-renderer-process/vite.config.ts#L3 https://github.com/electron-vite/vite-plugin-electron/blob/f6dabc3cf4da2244006a3b8e15a102a167dd155d/src/simple.ts#L63

如果你只想控制 input 的 disabled,你可以如此操作: ```diff ``` https://github.com/user-attachments/assets/93812e2c-5255-461d-b79c-8d0460f0d790