ooohps, sorry windows users

This commit is contained in:
Benjamin Pasero 2016-09-16 16:01:03 +02:00
parent 67175a9bcb
commit fc4f471070

View file

@ -75,12 +75,10 @@ if (env.isMacintosh) {
const actionsRegistry = <IActionBarRegistry>Registry.as(ActionBarExtensions.Actionbar); const actionsRegistry = <IActionBarRegistry>Registry.as(ActionBarExtensions.Actionbar);
actionsRegistry.registerActionBarContributor(Scope.VIEWER, FileViewerActionContributor); actionsRegistry.registerActionBarContributor(Scope.VIEWER, FileViewerActionContributor);
// Register Mac Integration (if we are on Mac) // Register Dirty Files Tracker
if (env.isMacintosh) { (<IWorkbenchContributionsRegistry>Registry.as(WorkbenchExtensions.Workbench)).registerWorkbenchContribution(
(<IWorkbenchContributionsRegistry>Registry.as(WorkbenchExtensions.Workbench)).registerWorkbenchContribution( DirtyFilesTracker
DirtyFilesTracker );
);
}
// Register Service // Register Service
registerSingleton(ITextFileService, TextFileService); registerSingleton(ITextFileService, TextFileService);