Skip to content
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

Bump dependencies. Add more hotkeys. Add swap color hotkey. #20

Merged
merged 8 commits into from
Feb 9, 2022

Conversation

eight04
Copy link
Contributor

@eight04 eight04 commented Feb 8, 2022

修改︰

  1. 把 dependencies 更新到最新
  2. 增加了一些熱鍵,目前是放在 events.js
  3. 新增 Alt-X 交換前/背景色的功能

已知問題︰

electron 現在有更嚴格的 isolation,分成 background / preload / content script。在 content 中,完全不能使用 electron API,特定的 API 則可以在 preload 中使用︰

  • 未來 RPC 溝通部份要移到 preload 裡
  • electron.remote 更是直接被砍掉了。主要受影響的部份就是右鍵選單,目前是直接 comment 掉

@staristic staristic merged commit d428324 into staristic:master Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants