1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-17 05:22:18 +00:00
Files
destreamer-mirror/CONTRIBUTING.md
kylon 176fa6e214 Fixes and refactoring (#59)
* Input url list: Fix bad Windows behavior

* Minor output fix

* Fix all download issues
  - downloads are synchronous again
  - fix progress bar (fix #39)
  - nuke fluent and switch to a bug-free ffmpeg module (fessonia)

* Move destreamer process events to a new file, we may add more in the future, lets give them their own space

* Destreamer: Release packages and builder script

ETA when? :P

* Clean up

* Implement yargs checks and add --videoUrlsFile option

* Refactor error handling
  - Human readable
  - No magic numbers

* Handle mkdir error
  - remove reduntant message

* gitignore: don't add hidden files

* Implement --outputDirectories

This gives us more flexibility on where to save videos

..especially if your videos have all the same name <.<

* Rename utils -> Utils

* Fix tests

don't import yargs on files other than main

* Create scripts directory

* Update make_release path

* Fix typo

* Create CONTRIBUTING.md

Co-authored-by: kylon <kylonux@gmail.com>
2020-04-14 15:59:14 +03:00

44 lines
913 B
Markdown

# Destreamer
<a href="https://github.com/snobu/destreamer/actions">
<img src="https://github.com/snobu/destreamer/workflows/Node%20CI/badge.svg" alt="CI build status" />
</a>
![](logo.png)
## Saves Microsoft Stream videos for offline enjoyment
## HOW TO BUILD FOR RELEASE
Destreamer builder supports the following environments:
* Linux
* WLS (Windows Linux Subsystem)
* MacOS
Requirements
* [pkg](https://www.npmjs.com/package/pkg)
* wget
`Install pkg to your system with the command:`
```
npm i -g pkg
```
You will find your release package in destreamer root directory.
To build a release package, run the following commands:
* `$ npm install`
* `$ cd scripts`
* `$ chmod +x make_release.sh`
* `$ ./make_release.sh`
```
Usage: ./make_realse.sh [option]
help - Show usage
linux - Build for Linux x64
win - Build for Windows x64
macos - Build for MacOS x64
all - Build all
default: all
```