mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
move version number
This commit is contained in:
parent
ce883c26b7
commit
a6cdde1d2f
@ -25,7 +25,7 @@ if (program.error) {
|
||||
const colors = require('colors');
|
||||
console.clear();
|
||||
console.log(colors.bold(`
|
||||
v4.2.1 ____ _
|
||||
v4.3.0 ____ _
|
||||
_ __ ___ / ___|| |_ _ __ ___ __ _ _ __ ___
|
||||
| '_ \` _ \\\\___ \\| __| '__/ _ \\/ _\` | '_ \` _ \\
|
||||
| | | | | |___) | |_| | | __/ (_| | | | | | |
|
||||
|
||||
@ -4,4 +4,37 @@ Alternative packaging steps
|
||||
|
||||
```shell
|
||||
npm install -g electron-builder
|
||||
```
|
||||
|
||||
# Install modclean (optional)
|
||||
npm install -g modclean
|
||||
```
|
||||
|
||||
**Modify package.json (optional)**
|
||||
|
||||
Remove all dependencies related to the command line (commander, inquirer, colors). These packages will never be used by mStream Express and can be safely removed to reduce the output size
|
||||
|
||||
**Cleanup node_modules (optional)**
|
||||
|
||||
Modclean can be used to clean out the node_modules folder of useless files. This deletes over 1000 useless files saving space and shortening install time. To install modlcean, run:
|
||||
|
||||
```
|
||||
npm install -g modclean
|
||||
```
|
||||
|
||||
Then run modclean with:
|
||||
|
||||
```
|
||||
modclean
|
||||
```
|
||||
|
||||
**Compile**
|
||||
|
||||
```shell
|
||||
# OSX
|
||||
electron-builder
|
||||
```
|
||||
|
||||
**Code Signing**
|
||||
|
||||
* OSX: Follow instructions here https://www.electron.build/code-signing. No modifications to the project needed
|
||||
* Windows:
|
||||
Binary file not shown.
@ -7,7 +7,6 @@ const AutoLaunch = require('auto-launch');
|
||||
const {autoUpdater} = require("electron-updater");
|
||||
|
||||
const mstreamAutoLaunch = new AutoLaunch({ name: 'mStream' });
|
||||
const currentVer = '0.16.0';
|
||||
let appIcon;
|
||||
|
||||
if (!fs.existsSync(fe.join(app.getPath('userData'), 'image-cache'))) {
|
||||
@ -129,7 +128,7 @@ function bootServer(program) {
|
||||
const protocol = program.ssl && program.ssl.cert && program.ssl.key ? 'https' : 'http';
|
||||
var trayTemplate = [
|
||||
{
|
||||
label: 'mStream Express v' + currentVer, click: function () {
|
||||
label: 'mStream Server v' + app.getVersion(), click: function () {
|
||||
shell.openExternal('http://mstream.io/mstream-express');
|
||||
}
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mstream",
|
||||
"version": "4.2.1",
|
||||
"version": "4.3.0",
|
||||
"description": "music streaming server",
|
||||
"main": "cli-boot-wrapper.js",
|
||||
"bin": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user