Commit 943feaa3 authored by antoor's avatar antoor

Reconstruction of optimized code

重构优化代码
parent ee38d527
/**
* 文件管理模板
* 更新:2016/04/13
* 更新:2016/05/14
* 作者:蚁逅 <https://github.com/antoor>
*/
'use strict';
// import Files from './files';
// import Tasks from './tasks';
// import Folder from './folder';
// import ENCODES from '../../base/encodes';
const Files = require('./files');
const Tasks = require('./tasks');
const Folder = require('./folder');
......@@ -17,8 +13,7 @@ const ENCODES = require('../../base/encodes');
const fs = require('fs');
const iconv = require('iconv-lite');
const crypto = require('crypto');
const remote = require('remote');
const dialog = remote.require('dialog');
const dialog = antSword.remote.dialog;
// 加载语言模板
const LANG = antSword['language']['filemanager'];
......
......@@ -15,7 +15,7 @@ class About {
const cell = sidebar.cells('about');
cell.attachHTMLString(`
<div align="center" class="about">
<img src="../static/imgs/logo.png" />
<img src="ant-static://imgs/logo.png" />
<hr/>
<h2>${LANG['header']}<span> v${antSword['package']['version']}</span></h2>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment