auto-git:
[change] main.js
This commit is contained in:
2
main.js
2
main.js
@@ -626,7 +626,7 @@ app.whenReady().then(() => {
|
|||||||
|
|
||||||
|
|
||||||
// 1) Beim Start bereits gespeicherte Ordner überwachen und monitoren
|
// 1) Beim Start bereits gespeicherte Ordner überwachen und monitoren
|
||||||
//const folders = store.get('folders') || [];
|
const folders = store.get('folders') || [];
|
||||||
folders.forEach(folderObj => {
|
folders.forEach(folderObj => {
|
||||||
if (fs.existsSync(path.join(folderObj.path, '.git', 'refs', 'heads', 'master'))) {
|
if (fs.existsSync(path.join(folderObj.path, '.git', 'refs', 'heads', 'master'))) {
|
||||||
watchRepo(folderObj.path, win);
|
watchRepo(folderObj.path, win);
|
||||||
|
|||||||
Reference in New Issue
Block a user