Skip to content

Commit

Permalink
Migrate to webpack and electron
Browse files Browse the repository at this point in the history
  • Loading branch information
layerssss committed Aug 22, 2017
1 parent bd210ca commit 3de9129
Show file tree
Hide file tree
Showing 28 changed files with 796 additions and 541 deletions.
25 changes: 4 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

# Ignore bundler config
/.bundle

# Ignore the build directory
/build

# Ignore cache
/.sass-cache
/.cache

# Ignore .DS_store file
.DS_Store

manager.sublime-workspace
node_modules
bower_components/
package-lock.json
bundle
.sass-cache
dist
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v8.2.1
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
sudo: required
dist: trusty
language: node_js
cache:
directories:
- "$HOME/.cache/electron-builder"
- "$HOME/.npm"
- "$HOME/.electron"
matrix:
include:
- os: osx
node_js: 6
- os: linux
node_js: 6
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
- graphicsmagick
- xz-utils
- rpm
- bsdtar
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
install:
- npm install
before_script:
- export
script:
- npm run dist
env:
global:
# GH_TOKEN:
- secure: "jvf4Ru0f+NsloMtPdr5tkI+kyo7X/hkLavJAD1YotYse63pUXPPaZ8rJKOduoMNLjlUhV+sJps+jBOwF0yY4xRTa8A/8ugjDMb7qo/8j1Glh+BPr87ldWZjiyTimq7PnBwsDFd4tY+ZmU6wgEl3E1PMq9dMaNxKjH3PPtWy3198="
# CSC_LINK:
- secure: "PJ0T4bAb/0k8qwN4unDaMrddIEYDmY8r1u1BXtn13+LF+Nwx0K0qnfoRWax/APXZ4htMhYCv7Dwrw+DYk/xhTjd6LSVIW8AYR8cVJ3GQJPj0NuMJELaLJEWEP6PNDUYPsEpqF07EzkshLMdlCaToHmqw8Rf29APxSyJshL7ELVk="
# CSC_KEY_PASSWORD:
- secure: "ZV/pnyGOkgLgDtR7BaNbw/pqcIbpptaNnh6w6hOcOIqyPnssCMIY1tgczlH0W4THtepnQ3g3UtT9dwIz6MlF+Thn0yxSvnMYrVTgub1DLfTU38AQ69iQG5dP8uneIFPX7Ya77mjJaOyyQHHYvJ+0e+v39Ls5rHM69HmdaEsFBSY="

8 changes: 0 additions & 8 deletions Gemfile

This file was deleted.

162 changes: 0 additions & 162 deletions Gemfile.lock

This file was deleted.

27 changes: 17 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
manager-for-uypun
manager-for-upyun
=====

manager-for-uypun 是一个又拍云资源管理器,使用它您可以上传、下载和管理您储存于又拍云空间中的文件资源。
manager-for-upyun 是一个又拍云资源管理器,使用它您可以上传、下载和管理您储存于又拍云空间中的文件资源。

又拍云是一个非结构化数据云存储、云处理、云分发平台,关于又拍云的详细介绍请参见[又拍云官方网站](https://www.upyun.com/)。没有又拍云帐号?可以使用这个公用的演示帐号登录:

```
TODO: 提供一个演示账号
操作员:layerssss
操作员密码:MD5_f92a36b6eb4d964c1b64cc008ecac009
空间名:manager-for-upyun
```

可以直接在打开以下地址来登录演示空间:

```
upyun://demo:MD5_bed3482f502c7bbfb6f9fa54f36e77d7@manager-demo/
upyun://layerssss:MD5_f92a36b6eb4d964c1b64cc008ecac009@manager-for-upyun/
```

下载
------

* 当前版本: 0.0.6 (更新于2014-06-01)
* 当前版本: 0.0.7 (更新于2017-08-22)
* [Windows / Mac / Linux](https://github.com/layerssss/manager-for-upyun/releases)

```
TODO: 提供下载和截屏
```
![01.png](screenshots/01.png)
![02.png](screenshots/02.png)
![03.png](screenshots/03.png)

发布说明
------

0.0.7 (更新于2017-08-22)

* 移植到 Electron

0.0.6 (更新于2014-06-01)

* 修改登录界面的外观
Expand Down Expand Up @@ -67,8 +74,8 @@ TODO: 提供下载和截屏
使用的技术
------

* node-webkit `# TODO: 替换为 Electron`
* middleman
* Electron
* webpack
* ace editor

源码授权
Expand Down
28 changes: 28 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# https://github.com/sindresorhus/appveyor-node/blob/master/appveyor.yml

environment:
matrix:
- platform: x64
GH_TOKEN:
secure: MbDdGuVFVB201kz9IM8K93eAKcyzltsFeLMBxJqZDnR0sLW59E13rHiJ5wHV76/x

image: Visual Studio 2015

init:
- npm config set msvs_version 2015 # we need this to build `pty.js`

install:
- ps: Install-Product node 6 x64
- npm install

build_script:
- npm run dist

shallow_clone: true

test_script:
- node --version
- npm --version

on_success:
- ps: ls .\dist\win\*.exe | % { Push-AppveyorArtifact $_.FullName }
24 changes: 0 additions & 24 deletions bower.json

This file was deleted.

Binary file added build/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/icon.icns
Binary file not shown.
Binary file added build/icon.ico
Binary file not shown.
Binary file added build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 0 additions & 30 deletions config.rb

This file was deleted.

Loading

0 comments on commit 3de9129

Please sign in to comment.