Merge pull request #148 from resin-io/misc/refer-to-etcher

Refer to Etcher instead of Resin Etcher
This commit is contained in:
Juan Cruz Viotti 2016-02-08 13:41:09 -04:00
commit 96b9bfd249
12 changed files with 26 additions and 26 deletions

View File

@ -1,7 +1,7 @@
Publishing Resin Etcher
=======================
Publishing Etcher
=================
This is a small guide to package and publish Resin Etcher to all supported operating systems.
This is a small guide to package and publish Etcher to all supported operating systems.
Packaging
---------
@ -14,7 +14,7 @@ Make sure you install npm dependencies with `--force` since there might be optio
npm install --force
```
Run the following command to package Resin Etcher
Run the following command to package Etcher
```sh
make installer-osx

View File

@ -15,7 +15,7 @@
*/
/**
* @module ResinEtcher
* @module Etcher
*/
'use strict';
@ -33,15 +33,15 @@ require('./browser/modules/drive-scanner');
require('./browser/modules/image-writer');
require('./browser/modules/path');
const app = angular.module('ResinEtcher', [
const app = angular.module('Etcher', [
'ui.bootstrap',
'TrackJS',
// Resin Etcher modules
'ResinEtcher.path',
'ResinEtcher.selection-state',
'ResinEtcher.drive-scanner',
'ResinEtcher.image-writer'
// Etcher modules
'Etcher.path',
'Etcher.selection-state',
'Etcher.drive-scanner',
'Etcher.image-writer'
]);
app.controller('AppController', function($q, $log, DriveScannerService, SelectionStateService, ImageWriterService) {

View File

@ -17,7 +17,7 @@
'use strict';
/**
* @module ResinEtcher.drive-scanner
* @module Etcher.drive-scanner
*/
const angular = require('angular');
@ -35,7 +35,7 @@ if (window.mocha) {
var dialog = electron.remote.require('./src/dialog');
}
const driveScanner = angular.module('ResinEtcher.drive-scanner', []);
const driveScanner = angular.module('Etcher.drive-scanner', []);
driveScanner.service('DriveScannerService', function($q, $interval, $timeout) {
let self = this;

View File

@ -17,7 +17,7 @@
'use strict';
/**
* @module ResinEtcher.image-writer
* @module Etcher.image-writer
*/
const angular = require('angular');
@ -29,7 +29,7 @@ if (window.mocha) {
var writer = electron.remote.require('./src/writer');
}
const imageWriter = angular.module('ResinEtcher.image-writer', []);
const imageWriter = angular.module('Etcher.image-writer', []);
imageWriter.service('ImageWriterService', function($q, $timeout) {
let self = this;

View File

@ -17,13 +17,13 @@
'use strict';
/**
* @module ResinEtcher.path
* @module Etcher.path
*/
const angular = require('angular');
const path = require('path');
const pathModule = angular.module('ResinEtcher.path', []);
const pathModule = angular.module('Etcher.path', []);
pathModule.filter('basename', function() {

View File

@ -17,12 +17,12 @@
'use strict';
/**
* @module ResinEtcher.selection-state
* @module Etcher.selection-state
*/
const _ = require('lodash');
const angular = require('angular');
const selectionState = angular.module('ResinEtcher.selection-state', []);
const selectionState = angular.module('Etcher.selection-state', []);
selectionState.service('SelectionStateService', function() {
let self = this;

View File

@ -40,7 +40,7 @@ exports.require = function(app, callback) {
app.dock.hide();
sudoPrompt.exec(process.argv.join(' '), {
name: 'Resin Etcher'
name: 'Etcher'
}, function(error) {
if (error) {
electron.dialog.showErrorBox('Elevation Error', error.message);

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Resin Etcher</title>
<title>Etcher</title>
<link rel="stylesheet" type="text/css" href="../node_modules/flexboxgrid/dist/flexboxgrid.css">
<link rel="stylesheet" type="text/css" href="../build/css/main.css">
<link rel="stylesheet" type="text/css" href="css/desktop.css">
@ -17,7 +17,7 @@
<script src="../node_modules/trackjs/tracker.js" data-token="032448bc3d9e4cffb1e9b43d29d6c142"></script>
<script src="./browser/app.js"></script>
</head>
<body ng-app="ResinEtcher" ng-controller="AppController as app" style="display: none">
<body ng-app="Etcher" ng-controller="AppController as app" style="display: none">
<div class="content row middle-xs space-horizontal-large">
<div class="col-xs">
<div class="row around-xs space-bottom-huge" ng-hide="app.state.progress == 100 && !app.writer.isBurning()">

View File

@ -7,7 +7,7 @@ require('../../../lib/browser/modules/drive-scanner');
describe('Browser: DriveScanner', function() {
beforeEach(angular.mock.module('ResinEtcher.drive-scanner'));
beforeEach(angular.mock.module('Etcher.drive-scanner'));
describe('DriveScannerService', function() {

View File

@ -7,7 +7,7 @@ require('../../../lib/browser/modules/image-writer');
describe('Browser: ImageWriter', function() {
beforeEach(angular.mock.module('ResinEtcher.image-writer'));
beforeEach(angular.mock.module('Etcher.image-writer'));
describe('ImageWriterService', function() {

View File

@ -8,7 +8,7 @@ require('../../../lib/browser/modules/path');
describe('Browser: Path', function() {
beforeEach(angular.mock.module('ResinEtcher.path'));
beforeEach(angular.mock.module('Etcher.path'));
describe('BasenameFilter', function() {

View File

@ -7,7 +7,7 @@ require('../../../lib/browser/modules/selection-state');
describe('Browser: SelectionState', function() {
beforeEach(angular.mock.module('ResinEtcher.selection-state'));
beforeEach(angular.mock.module('Etcher.selection-state'));
describe('SelectionStateService', function() {