Skip to content

Commit

Permalink
Emergency changes oof
Browse files Browse the repository at this point in the history
  • Loading branch information
HaileyJang committed Oct 13, 2021
2 parents 52d01d2 + 26d94fd commit f1d9400
Show file tree
Hide file tree
Showing 62 changed files with 2,437 additions and 1,829 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "protos-main/protos"]
path = protos-main/protos
url = https://github.com/pioneers/protos.git
2 changes: 1 addition & 1 deletion fake-runtime/FakeRuntime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/* eslint-disable camelcase */
import { DevData, IParam, IDevice, IDevData } from '../protos/protos';
import { DevData, IParam, IDevice, IDevData } from '../protos-main';
import { createSocket, Socket as UDPSocket } from 'dgram';
import { createServer, Server as TCPServer } from 'net';

Expand Down
8 changes: 8 additions & 0 deletions main/MenuTemplate/DawnMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ const DawnMenu: MenuItemConstructorOptions = {
app.quit();
},
},
{ // this should be a button in the UI instead of a context menu
label: 'Dark/Light Theme',
click() {
RendererBridge.reduxDispatch({
type: 'TOGGLE_THEME_GLOBAL',
});
}
},
{
label: 'Field Control Mode',
click() {
Expand Down
Loading

0 comments on commit f1d9400

Please sign in to comment.