first commit
This commit is contained in:
10
src/core/interactive/Touchbar.interactive.ts
Normal file
10
src/core/interactive/Touchbar.interactive.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { app, BrowserWindow, TouchBar, dialog, shell } from "electron";
|
||||
import Windows from "@/core/model/Windows.model";
|
||||
import Config from "@config/Index.config";
|
||||
const { TouchBarLabel, TouchBarButton,TouchBarSpacer } = TouchBar;
|
||||
|
||||
export class Touchbar {
|
||||
constructor() {
|
||||
Windows.CurrentBrowserWindow.setTouchBar(new TouchBar(Config.TouchBarConfig))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user