mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-03 21:43:18 +00:00 
			
		
		
		
	Logs: Unused Logs dir.
This commit is contained in:
		@@ -1,5 +1,4 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
const fs = require('fs');
 | 
			
		||||
const { app, dialog } = require('electron');
 | 
			
		||||
const { autoUpdater } = require('electron-updater');
 | 
			
		||||
const isDev = require('electron-is-dev');
 | 
			
		||||
@@ -15,10 +14,6 @@ function appUpdater() {
 | 
			
		||||
	// Create Logs directory
 | 
			
		||||
	const LogsDir = `${app.getPath('userData')}/Logs`;
 | 
			
		||||
 | 
			
		||||
	if (!fs.existsSync(LogsDir)) {
 | 
			
		||||
		fs.mkdirSync(LogsDir);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Log whats happening
 | 
			
		||||
	const log = require('electron-log');
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user