@@ -174,31 +174,43 @@ export default class ElectronPlatform extends VectorBasePlatform {
174174 }
175175
176176 async getAppVersion ( ) : Promise < string > {
177- return await this . _ipcCall ( 'getAppVersion' ) ;
177+ return this . _ipcCall ( 'getAppVersion' ) ;
178178 }
179179
180180 supportsAutoLaunch ( ) : boolean {
181181 return true ;
182182 }
183183
184184 async getAutoLaunchEnabled ( ) : boolean {
185- return await this . _ipcCall ( 'getAutoLaunchEnabled' ) ;
185+ return this . _ipcCall ( 'getAutoLaunchEnabled' ) ;
186186 }
187187
188188 async setAutoLaunchEnabled ( enabled : boolean ) : void {
189- return await this . _ipcCall ( 'setAutoLaunchEnabled' , enabled ) ;
189+ return this . _ipcCall ( 'setAutoLaunchEnabled' , enabled ) ;
190+ }
191+
192+ supportsAutoHideMenuBar ( ) : boolean {
193+ return true ;
194+ }
195+
196+ async getAutoHideMenuBarEnabled ( ) : boolean {
197+ return this . _ipcCall ( 'getAutoHideMenuBarEnabled' ) ;
198+ }
199+
200+ async setAutoHideMenuBarEnabled ( enabled : boolean ) : void {
201+ return this . _ipcCall ( 'setAutoHideMenuBarEnabled' , enabled ) ;
190202 }
191203
192204 supportsMinimizeToTray ( ) : boolean {
193205 return true ;
194206 }
195207
196208 async getMinimizeToTrayEnabled ( ) : boolean {
197- return await this . _ipcCall ( 'getMinimizeToTrayEnabled' ) ;
209+ return this . _ipcCall ( 'getMinimizeToTrayEnabled' ) ;
198210 }
199211
200212 async setMinimizeToTrayEnabled ( enabled : boolean ) : void {
201- return await this . _ipcCall ( 'setMinimizeToTrayEnabled' , enabled ) ;
213+ return this . _ipcCall ( 'setMinimizeToTrayEnabled' , enabled ) ;
202214 }
203215
204216 async canSelfUpdate ( ) : boolean {
0 commit comments