Skip to content

Commit 5f5261b

Browse files
author
guasam
committed
Rename ERWT to EVTW
1 parent e79cd05 commit 5f5261b

File tree

6 files changed

+12
-27
lines changed

6 files changed

+12
-27
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"electron-typescript",
2020
"hmr",
2121
"boilerplate",
22-
"2020",
23-
"ERWT"
22+
"2021",
23+
"EVTW"
2424
],
2525
"author": {
2626
"name": "codesbiome",

src/components/Application.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</div>
1515
</div>
1616
<div class="versions center">
17-
<span> ERWT <span id="erwt-version"></span> </span>
17+
<span> EVTW <span id="evtw-version"></span> </span>
1818
<span> Electron <span id="electron-version"></span> </span>
1919
<span> Chrome <span id="chrome-version"></span> </span>
2020
<span> Node <span id="node-version"></span> </span>

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="UTF-8" />
5-
<title>ERWT Boilerplate</title>
5+
<title>EVTW Boilerplate</title>
66
</head>
77
<body>
88
<div id="app"></div>

src/preload.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Say something
2-
console.log('[ERWT] : Preload execution started');
2+
console.log('[EVTW] : Preload execution started');
33

44
// Get versions
55
window.addEventListener('DOMContentLoaded', () => {
@@ -9,9 +9,9 @@ window.addEventListener('DOMContentLoaded', () => {
99
};
1010

1111
// Packages version
12-
for (const type of ['chrome', 'node', 'electron', 'erwt']) {
12+
for (const type of ['chrome', 'node', 'electron', 'evtw']) {
1313
const version =
14-
type == 'erwt'
14+
type == 'evtw'
1515
? process.env['npm_package_version']
1616
: process.versions[type];
1717

src/renderer.tsx

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
// import React from 'react';
2-
// import ReactDOM from 'react-dom';
3-
// import Application from './components/Application';
4-
// import { inDev } from './utils/helpers';
5-
6-
// // Say something
7-
// console.log('[ERWT] : Renderer execution started');
8-
9-
// // Application to Render
10-
// const app = <Application title='ERWT Boilerplate' version='4.0.0' />;
11-
12-
// // Render application in DOM
13-
// ReactDOM.render(app, document.getElementById('app'));
14-
15-
// // Hot module replacement
16-
// if (inDev() && module.hot) module.hot.accept();
17-
181
import { createApp } from 'vue';
192
import App from '@src/components/Application.vue';
203

4+
// Say something
5+
console.log('[EVTW] : Renderer execution started');
6+
7+
// Mount application
218
createApp(App).mount('#app');

tools/forge/forge.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
// Create asar archive for main, renderer process files
99
asar: true,
1010
// Set executable name
11-
executableName: 'ERWT Boilerplate',
11+
executableName: 'EVTW Boilerplate',
1212
// Set application copyright
1313
appCopyright: 'Copyright (C) 2021 Codesbiome, Guasam',
1414
},
@@ -61,8 +61,6 @@ module.exports = {
6161
// Entrypoints of the application
6262
entryPoints: [
6363
{
64-
// React Hot Module Replacement (HMR)
65-
// rhmr: 'react-hot-loader/patch',
6664
// HTML index file template
6765
html: path.join(rootDir, 'src/index.html'),
6866
// Renderer

0 commit comments

Comments
 (0)