Skip to content

Commit

Permalink
updated to 1.0.7 version
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhaninan committed Jun 11, 2017
1 parent 1e50c57 commit 6239d8c
Show file tree
Hide file tree
Showing 5 changed files with 1,031 additions and 842 deletions.
72 changes: 44 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/header1.png" width="500">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Header.png" width="500">
</p>
<p align="center">
<b>Linux System Optimizer and Monitoring</b>
Expand All @@ -12,13 +12,7 @@
</a>
<a href="https://sourceforge.net/projects/stacer/files/" rel="nofollow">
<img alt="Download Stacer" src="https://img.shields.io/sourceforge/dt/stacer.svg"/>
</a>
<a href="https://www.bithound.io/github/oguzhaninan/Stacer">
<img alt="bitHound Overall Score" src="https://www.bithound.io/github/oguzhaninan/Stacer/badges/score.svg"/>
</a>
<a href="https://www.codacy.com/app/oguzhan3488/Stacer?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=oguzhaninan/Stacer&amp;utm_campaign=badger">
<img alt="Codacy Badge" src="https://api.codacy.com/project/badge/Grade/62f67866ba864392b3d8d615d5052de8"/>
</a>
</a>
<a href="http://www.kernel.org">
<img alt="Platform (GNU/Linux)" src="https://img.shields.io/badge/platform-GNU/Linux-blue.svg"/>
</a>
Expand All @@ -33,7 +27,7 @@
## Reviews
<p align="left">
<a href="http://www.omgubuntu.co.uk/2017/01/stacer-system-optimizer-for-ubuntu">
<img width="70px" src="http://www.omgubuntu.co.uk/wp-content/themes/omgunified-ubuntu/images/logo.png"/>
<img width="70px" src="http://www.omgubuntu.co.uk/wp-content/themes/omgubuntu-theme-3.6.1/images/logo.png"/>
</a>
<a href="http://www.diolinux.com.br/2017/02/stacer-um-programa-para-otimizar-o-ubuntu.html">
<img width="170px" src="http://coletivo.semanadolinux.com.br/images/site/diolinux.png"/>
Expand All @@ -56,21 +50,27 @@

### AppImage

1. Download `Stacer-1.0.6-x86_64.AppImage` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Make it executable `sudo chmod a+x Stacer*.AppImage`
3. Run `./Stacer*.AppImage`
1. Download `stacer-1.0.7-x86_64.AppImage` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Make it executable `sudo chmod a+x stacer*.AppImage`
3. Run `./stacer*.AppImage`

### Debian Linux x64

1. Download `Stacer_1.0.6_amd64.deb` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Run `sudo dpkg --install Stacer_1.0.6_amd64.deb` on the downloaded package.
3. Launch Stacer using the installed `Stacer` command.
1. Download `stacer_1.0.7_amd64.deb` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Run `sudo dpkg --install stacer_1.0.7_amd64.deb` on the downloaded package.
3. Launch Stacer using the installed `stacer` command.

### Debian Linux x86

1. Download `Stacer_1.0.6_i386.deb` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Run `sudo dpkg --install Stacer_1.0.6_i386.deb` on the downloaded package.
3. Launch Stacer using the installed `Stacer` command.
1. Download `stacer_1.0.7_i386.deb` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Run `sudo dpkg --install stacer_1.0.7_i386.deb` on the downloaded package.
3. Launch Stacer using the installed `stacer` command.

### Fedora

1. Download `stacer-1.0.7.rpm` from the [Stacer releases page](https://github.com/oguzhaninan/Stacer/releases).
2. Run `sudo rpm --install stacer-1.0.7.rpm` on the downloaded package.
3. Launch Stacer using the installed `stacer` command.

## Build from source

Expand All @@ -83,36 +83,52 @@

## Screenshots

<p align="center">
<img src="https://github.com/oguzhaninan/Stacer/blob/master/Screenshots/stacer.gif" width="500">
</p>

### Dashboard
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-1.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-1.png" width="700">
</p>

### System Cleaner
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-2.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-2.png" width="700">
</p>

### Startup Apps
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-3.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-3.png" width="700">
</p>

### Services
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-4.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-4.png" width="700">
</p>

### Uninstaller
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-5.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-5.png" width="700">
</p>

### Resources
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-6.png" width="700">
</p>

### Resources
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.6-6.png" width="700">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-7.png" width="700">
</p>

### Resources
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-8.png" width="700">
</p>

### Resources
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-9.png" width="700">
</p>

### Resources
<p align="center">
<img src="https://raw.githubusercontent.com/oguzhaninan/Stacer/master/Screenshots/Screenshot-v1.0.7-10.png" width="700">
</p>
8 changes: 3 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ const electron = require('electron')

var win

function createWindow() {

function createWindow() {
const _width = 935, _height = 620
win = new BrowserWindow({
width: _width,
Expand All @@ -29,11 +28,10 @@ function createWindow() {
win.setPosition(w,h)
}
catch(err) {
console.log(err)
// win.center()
win.center()
}

// win.setMenu(null)
win.setMenu(null)

win.loadURL(`file://${__dirname}/bundle/index.html`)

Expand Down
31 changes: 16 additions & 15 deletions package.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Stacer",
"name": "stacer",
"productName": "Stacer",
"version": "1.0.6",
"version": "1.0.7",
"description": "Linux System Optimizer and Monitoring",
"license": "MIT",
"main": "main.js",
Expand All @@ -28,29 +28,30 @@
"scripts": {
"start": "yarn run build; electron .",
"build": "babel src/ -d bundle/",
"clean": "rm bundle/*.js bundle/**/*.js",
"package-x86": "electron-packager . --overwrite --platform=linux --arch=ia32 --icon=assets/img/icons/icon256x256.png --prune=true --out=release-builds --electron-version=1.6.2",
"package-x64": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/img/icons/icon256x256.png --prune=true --out=release-builds --electron-version=1.6.2",
"clean": "rm bundle/*.js bundle/**/*.js bundle/**/**/*.js",
"package-x86": "electron-packager . --overwrite --platform=linux --arch=ia32 --icon=assets/img/icons/icon256x256.png --prune=true --out=release-builds --electron-version=1.6.10",
"package-x64": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/img/icons/icon256x256.png --prune=true --out=release-builds --electron-version=1.6.10",
"installer-x86": "electron-installer-debian --src release-builds/Stacer-linux-ia32/ --arch i386 --dest dest/installers/ --icon assets/img/icons/icon256x256.png",
"installer-x64": "electron-installer-debian --src release-builds/Stacer-linux-x64/ --arch amd64 --dest dest/installers/ --icon assets/img/icons/icon256x256.png",
"release-x86": "npm run package-x86 && npm run installer-x86",
"release-x64": "npm run package-x64 && npm run installer-x64",
"clean-package": "rm -r release-builds/ dest/"
},
"dependencies": {
"chart.js": "^2.5.0",
"chartkick": "^2.2.3",
"chokidar": "^1.6.1",
"glob": "^7.1.2",
"jquery": "^3.1.1",
"chart.js": "^2.6.0",
"chartkick": "^2.2.4",
"chokidar": "^1.7.0",
"jquery": "^3.2.1",
"progressbar.js": "^1.0.1",
"properties-reader": "^0.0.15",
"sudo-prompt": "^6.2.1",
"systeminformation": "^3.13.0"
"sudo-prompt": "^7.0.0",
"systeminformation": "^3.18.0",
"winston": "^2.3.1"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-preset-es2015": "^6.24.0",
"electron": "^1.6.2"
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"electron": "^1.6.10",
"electron-builder": "^18.6.2"
}
}
21 changes: 18 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
import App from './components/App'
import Language from './languages/Language'
import config from './utils/config'
import winston from 'winston'

const userData = require('electron').remote.app.getPath('userData')

window.vm = new Vue({
el: 'app',
components: {
'app': App
},
beforeCreate() {
// Set configs
config()
// Check Language
let appLanguage = localStorage.getItem('appLanguage') || 'en'
let appLanguage = localStorage.appLanguage || 'en'
let language = new Language(appLanguage)
window.lang = (key) => language.get(key)
// Check Theme
let appTheme = localStorage.getItem('appTheme') || 'dark'
let appTheme = localStorage.appTheme || 'dark'
document.body.classList = [appTheme]

// Logger settings
window.logger = new(winston.Logger)({
transports: [
new(winston.transports.File)({
filename: userData + '/stacer.log'
})
]
})
},
mounted() {
setTimeout(() => document.getElementById('loading').remove(), 3000)
setTimeout(() => document.getElementById('loading').remove(), 2500)
}
})
Loading

0 comments on commit 6239d8c

Please sign in to comment.