1.0.0
This commit is contained in:
parent
986f4665e5
commit
2186c66d27
6
.env
6
.env
@ -1,5 +1,5 @@
|
||||
API_ID=1025907
|
||||
API_HASH=452b0359b988148995f22ff0f4229750
|
||||
VERSION=0.9.2
|
||||
VERSION_FULL=0.9.2 (35)
|
||||
BUILD=35
|
||||
VERSION=1.0.0
|
||||
VERSION_FULL=1.0.0 (36)
|
||||
BUILD=36
|
||||
|
@ -1,3 +1,12 @@
|
||||
### 1.0.0 (36)
|
||||
An early version of Video Chats is available in all groups and channels – with a polished design exclusively for Web:
|
||||
|
||||
* Expand to view your video chats in fullscreen.
|
||||
* Try the wide mode, which shows video feeds side-by-side.
|
||||
* Resize and place the video layout on any part of the screen.
|
||||
* Minimize the window and the app will remember its precious size and position.
|
||||
* Mute or leave the video chat from the interactive header.
|
||||
|
||||
### 0.9.2 (32)
|
||||
* Flexible forwarding options: hide the sender name or media captions from messages.
|
||||
* The ‘Choosing a Sticker’ user status now appears in chats and the chat list.
|
||||
|
@ -11,10 +11,23 @@ const text = fs.readFileSync('./CHANGELOG.md').toString('utf-8');
|
||||
|
||||
const writeTo = `./public/changelogs/{VERSION}.md`;
|
||||
|
||||
const splitted = text.split('\n\n');
|
||||
const separator = '### ';
|
||||
const splitted = text.split(separator);
|
||||
splitted.forEach(text => {
|
||||
if(!text.trim()) return;
|
||||
text = separator + text;
|
||||
text = text.replace(/^\*/gm, '•');
|
||||
const splitted = text.split('\n').filter(line => !!line.trim());
|
||||
const splitted = text.split('\n');
|
||||
|
||||
for(let i = splitted.length - 1; i >= 0; --i) {
|
||||
const line = splitted[i];
|
||||
if(!line.trim()) {
|
||||
splitted.splice(i, 1);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
const firstLine = splitted.shift();
|
||||
fs.writeFileSync(writeTo.replace('{VERSION}', firstLine.substr(4)), splitted.join('\n') + '\n');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user