mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-16 21:12:13 +00:00
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>
This commit is contained in:
44
CONTRIBUTING.md
Normal file
44
CONTRIBUTING.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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>
|
||||
|
||||

|
||||
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user