Skip to content

Commit

Permalink
修复客户端
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Jan 15, 2022
1 parent 7a28a89 commit 1a65c4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const fs = require('fs')
const fse = require('fs-extra')
const os = require("os");
const path = require('path')
const XLSX = require('xlsx');
Expand All @@ -19,8 +20,11 @@ let mainWindow = null,
if (fs.existsSync(devloadCachePath)) {
devloadUrl = fs.readFileSync(devloadCachePath, 'utf8')
}

if (fs.existsSync(downloadCacheFile)) {
downloadList = utils.jsonParse(fs.readFileSync(downloadCacheFile, 'utf8'), [])
} else {
fse.ensureDirSync(path.join(app.getPath('cache'), config.name))
}

function downloadUpdate(item) {
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.6.30",
"version": "0.6.31",
"description": "DooTask is task management system.",
"main": "main.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.6.30",
"version": "0.6.31",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",
Expand Down

0 comments on commit 1a65c4a

Please sign in to comment.